共用方式為


CompiledQuery.Compile 方法

定義

多載

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>>)

編譯查詢。

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>>)

編譯查詢。

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>>)

編譯查詢。

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>>)

編譯查詢。

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>>)

編譯查詢。

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>>)

編譯查詢。

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>>)

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

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

編譯查詢。

Compile<TArg0,TResult>(Expression<Func<TArg0,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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg11

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg12

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg13

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg14

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg15

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg11

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg12

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg13

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg14

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg11

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg12

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg13

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg11

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg12

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg11

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg10

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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>>)

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg9

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg8

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg7

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg6

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg5

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg4

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg3

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

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

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg2

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

Func<TArg0,TArg1,TArg2,TResult>

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TArg1

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

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

要編譯的查詢運算式。

傳回

Func<TArg0,TArg1,TResult>

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於

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

編譯查詢。

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)

類型參數

TArg0

表示在執行由 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 方法所傳回的委派時,所必須傳入的參數型別。

TResult

執行 IEnumerable<T> 方法所傳回的委派時,所傳回 Compile<TArg0,TResult>(Expression<Func<TArg0,TResult>>) 中的 T 型別。

參數

query
Expression<Func<TArg0,TResult>>

要編譯的查詢運算式。

傳回

Func<TArg0,TResult>

泛型委派,這個委派表示已編譯的查詢。

範例

請參閱 Compile

備註

請參閱 Compile

適用於