EF.CompileQuery 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15, IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TParam15
第十五個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TParam15
第十五個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TParam15
第十五個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9, TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult, TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TParam14
第十四個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,TResult>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TParam13
第十三個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TResult>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TParam12
第十二個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TParam11
第十一個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TParam10
第十個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TParam9
第九個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TParam8
第八個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IIncludableQueryable<TResult, TProperty>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TParam7
第七個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult, TProperty>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TResult>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TParam6
第六個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>>)
建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TParam5
第五個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TParam4
第四個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TParam3
第三個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,TResult> CompileQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TResult))) As Func(Of TContext, TParam1, TParam2, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TParam2
第二個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TResult,TProperty>(Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,TResult> CompileQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'Result>> -> Func<'Context, 'TParam1, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TResult))) As Func(Of TContext, TParam1, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TParam1,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TParam1
第一個查詢參數的類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TParam1,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TResult,TProperty>(Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TResult
查詢結果類型。
- TProperty
包含的屬性類型。
參數
- queryExpression
- Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TResult>(Expression<Func<TContext,TResult>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,TResult> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'Result>> -> Func<'Context, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TResult))) As Func(Of TContext, TResult)
類型參數
- TContext
目標 DbCoNtext 類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,TResult>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TResult>(Expression<Func<TContext,IQueryable<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,IQueryable<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TResult>(Expression<Func<TContext,DbSet<TResult>>>)
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,DbSet<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
適用於
CompileQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)
警告
Use DbSet instead
建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
[System.Obsolete("Use DbSet instead")]
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
[<System.Obsolete("Use DbSet instead")>]
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))
類型參數
- TContext
目標 DbCoNtext 類型。
- TResult
查詢結果類型。
參數
- queryExpression
- Expression<Func<TContext,DbQuery<TResult>>>
LINQ 查詢運算式。
傳回
可以叫用以執行已編譯查詢的委派。
- 屬性