LinqConnect Documentation
Devart.Data.Linq Namespace / CompiledQuery Class / Compile Method / Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) Method

In This Topic
    Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Function Compile
        (Of TArg0 As DataContext,
         TResult)( _
       ByVal query As Expression(Of Func(Of TArg0,TResult)) _
    ) As Func(Of TArg0,TResult)
    public static Func<TArg0,TResult> Compile<TArg0,TResult>( 
       Expression<Func<TArg0,TResult>> query
    )
    where TArg0: DataContext

    Parameters

    query

    Type Parameters

    TArg0
    TResult
    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