CompiledQuery.Compile Method
Assembly: EntityFramework (in EntityFramework.dll)
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TArg11
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TArg11
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type.
- TArg12
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TArg11
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type.
- TArg12
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type.
- TArg13
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TArg11
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type.
- TArg12
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type.
- TArg13
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type.
- TArg14
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] 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>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TArg8
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg8 must be a primitive type.
- TArg9
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg9 must be a primitive type.
- TArg10
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg10 must be a primitive type.
- TArg11
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg11 must be a primitive type.
- TArg12
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg12 must be a primitive type.
- TArg13
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg13 must be a primitive type.
- TArg14
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg14 must be a primitive type.
- TArg15
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg15 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> method.
CompiledQuery.Compile<TArg0, TResult> Method (Expression<Func<TArg0, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Func<TArg0, TResult> Compile<TArg0, TResult>( Expression<Func<TArg0, TResult>> query ) where TArg0 : ObjectContext
Parameters
- query
-
Type:
System.Linq.Expressions.Expression<Func<TArg0, TResult>>
The lambda expression to compile.
Return Value
Type: System.Func<TArg0, TResult>Func<T, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TResult> Method (Expression<Func<TArg0, TArg1, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Func<TArg0, TArg1, TResult> Compile<TArg0, TArg1, TResult>( Expression<Func<TArg0, TArg1, TResult>> query ) where TArg0 : ObjectContext
Parameters
- query
-
Type:
System.Linq.Expressions.Expression<Func<TArg0, TArg1, TResult>>
The lambda expression to compile.
Return Value
Type: System.Func<TArg0, TArg1, TResult>Func<T1, T2, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult>( Expression<Func<TArg0, TArg1, TArg2, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TResult>Func<T1, T2, T3, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Func<TArg0, TArg1, TArg2, TArg3, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TResult>Func<T1, T2, T3, T4, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>Func<T1, T2, T3, T4, T5, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>Func<T1, T2, T3, T4, T5, T6, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] [SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>Func<T1, T2, T3, T4, T5, T6, T7, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> method.
CompiledQuery.Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> Method (Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>>)
Creates a new delegate that represents the compiled LINQ to Entities query.
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] [SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "required for this feature")] public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>( Expression<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>> query ) where TArg0 : ObjectContext
Parameters
Return Value
Type: System.Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>, a generic delegate that represents the compiled LINQ to Entities query.
Type Parameters
- TArg0
A type derived from ObjectContext.
- TArg1
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg1 must be a primitive type.
- TArg2
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg2 must be a primitive type.
- TArg3
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg3 must be a primitive type.
- TArg4
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg4 must be a primitive type.
- TArg5
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg5 must be a primitive type.
- TArg6
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg6 must be a primitive type.
- TArg7
Represents the type of the parameter that has to be passed in when executing the delegate returned by this method. TArg7 must be a primitive type.
- TResult
The type T of the query results returned by executing the delegate returned by the Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> method.