Muokkaa

Jaa


CompiledQuery.Compile Method

Definition

Overloads

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TArg14,TArg15,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TArg14,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TResult>(Expression<Func<TArg0,TArg1, TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11, TArg12,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TResult>(Expression<Func<TArg0,TArg1,TArg2, TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3, TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4, TArg5,TArg6,TArg7,TArg8,TArg9,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5, TArg6,TArg7,TArg8,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TResult>(Expression<Func<TArg0,TArg1,TArg2,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TResult>(Expression<Func<TArg0,TArg1,TResult>>)

Compiles the query.

Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>)

Compiles the query.

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TArg14,TArg15,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TArg11, typename TArg12, typename TArg13, typename TArg14, typename TArg15, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'TArg14, 'TArg15, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'TArg14, 'TArg15, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TArg11 As DataContext, TArg12 As DataContext, TArg13 As DataContext, TArg14 As DataContext, TArg15 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg11

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg12

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg13

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg14

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg15

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TArg15,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile

Remarks

See Compile

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TArg14,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TArg11, typename TArg12, typename TArg13, typename TArg14, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'TArg14, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'TArg14, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TArg11 As DataContext, TArg12 As DataContext, TArg13 As DataContext, TArg14 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg11

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg12

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg13

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg14

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TArg14,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TArg13,TResult>(Expression<Func<TArg0, TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10, TArg11,TArg12,TArg13,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TArg11, typename TArg12, typename TArg13, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'TArg13, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TArg11 As DataContext, TArg12 As DataContext, TArg13 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg11

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg12

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg13

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TArg13,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TArg12,TResult>(Expression<Func<TArg0,TArg1, TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11, TArg12,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TArg11, typename TArg12, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'TArg12, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TArg11 As DataContext, TArg12 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg11

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg12

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TArg12,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TArg11,TResult>(Expression<Func<TArg0,TArg1,TArg2, TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TArg11, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'TArg11, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TArg11 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg11

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TArg11,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TArg10,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3, TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TArg10, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'TArg10, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TArg10 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg10

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TArg10,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TArg9,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4, TArg5,TArg6,TArg7,TArg8,TArg9,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TArg9, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'TArg9, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TArg9 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg9

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TArg9,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8, TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5, TArg6,TArg7,TArg8,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TArg8, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'TArg8, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TArg8 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg8

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TArg8,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TArg7, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'TArg7, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TArg7 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg7

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TArg7,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TArg6, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'TArg6, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TArg6 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg6

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TArg6,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TArg5, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'TArg5, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TArg5 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg5

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TArg5,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TArg4, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TArg4,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'TArg4, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TArg4 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TArg4, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg4

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TArg4,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TArg3,TResult>(Expression<Func<TArg0,TArg1,TArg2,TArg3,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TArg3, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TArg3, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TArg3, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TArg3,TResult> Compile<TArg0,TArg1,TArg2,TArg3,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TArg3,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'TArg3, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TArg3 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TArg3, TResult))) As Func(Of TArg0, TArg1, TArg2, TArg3, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg3

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TArg3,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TArg3,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TArg2,TResult>(Expression<Func<TArg0,TArg1,TArg2,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TArg2, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TArg2, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TArg2, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TArg2,TResult> Compile<TArg0,TArg1,TArg2,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TArg2,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'TArg2, 'Result>> -> Func<'TArg0, 'TArg1, 'TArg2, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TArg2 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TArg2, TResult))) As Func(Of TArg0, TArg1, TArg2, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg2

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TArg2,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TArg2,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TArg1,TResult>(Expression<Func<TArg0,TArg1,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TArg1, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TArg1, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TArg1, TResult> ^> ^ query);
public static Func<TArg0,TArg1,TResult> Compile<TArg0,TArg1,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TArg1,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'TArg1, 'Result>> -> Func<'TArg0, 'TArg1, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TArg1 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TArg1, TResult))) As Func(Of TArg0, TArg1, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TArg1

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TArg1,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TArg1,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile.

Remarks

See Compile.

Applies to

Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>)

Compiles the query.

public:
generic <typename TArg0, typename TResult>
 where TArg0 : System::Data::Linq::DataContext static Func<TArg0, TResult> ^ Compile(System::Linq::Expressions::Expression<Func<TArg0, TResult> ^> ^ query);
public static Func<TArg0,TResult> Compile<TArg0,TResult> (System.Linq.Expressions.Expression<Func<TArg0,TResult>> query) where TArg0 : System.Data.Linq.DataContext;
static member Compile : System.Linq.Expressions.Expression<Func<'TArg0, 'Result>> -> Func<'TArg0, 'Result (requires 'TArg0 :> System.Data.Linq.DataContext)> (requires 'TArg0 :> System.Data.Linq.DataContext)
Public Shared Function Compile(Of TArg0 As DataContext, TResult As DataContext) (query As Expression(Of Func(Of TArg0, TResult))) As Func(Of TArg0, TResult)

Type Parameters

TArg0

Represents the type of the parameter that has to be passed in when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

TResult

The type of T in the IEnumerable<T> returned when executing the delegate returned by the Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) method.

Parameters

query
Expression<Func<TArg0,TResult>>

The query expression to be compiled.

Returns

Func<TArg0,TResult>

A generic delegate that represents the compiled query.

Examples

See Compile

Remarks

See Compile

Applies to