LinqConnect Documentation
Devart.Data.Linq Namespace / CompiledQuery Class
Members

In This Topic
    CompiledQuery Class
    In This Topic
    Allows compiling and caching queries.
    Syntax
    'Declaration
     
    Public NotInheritable Class CompiledQuery 
    public sealed class CompiledQuery 
    Remarks
    This class contains a single method Compile with several overloads. Call this method to create a new delegate to represent the compiled query. Provides these overloads for up to three arguments (besides the DataContext for which to compile the query). If more than three arguments need to be passed to the query, a System.Object array can be used for one of TArg1, TArg2, TArg3. In this case, multiple arguments should be passed inside this Object array and cast to the necessary types inside the query.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also