共用方式為


EF.CompileAsyncQuery 方法

定義

多載

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<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 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,CancellationToken, TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IIncludableQueryable<TResult, TProperty>>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,IIncludableQueryable<TResult, TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TResult,TProperty>(Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult,TProperty>(Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)
已淘汰.

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbSet<TResult>>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,CancellationToken,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(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,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TResult>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,CancellationToken, TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, CancellationToken, Task(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,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TParam6

第六個查詢參數的類型。

TParam7

第七個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TParam6

第六個查詢參數的類型。

TParam7

第七個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : 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, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(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 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TParam6

第六個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TParam6

第六個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,CancellationToken,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TParam6

第六個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,CancellationToken,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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;
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TParam5

第五個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,AsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,IAsyncEnumerable<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用 時,將會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,CancellationToken,Task<TResult>>

可叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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;
public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,AsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,TParam4,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TParam4

第四個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,TParam4,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,TParam3,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TParam3

第三個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,TParam3,AsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,TParam3,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, CancellationToken, TResult))) As Func(Of TContext, TParam1, TParam2, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TParam2,TResult>(Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,TParam2,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TParam2,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TParam2

第二個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TParam2,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,TParam2,AsyncEnumerable<TResult>>
Func<TContext,TParam1,TParam2,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TResult,TProperty>(Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<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 CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,TParam1,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,TParam1,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,AsyncEnumerable<TResult>>
Func<TContext,TParam1,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, System.Threading.CancellationToken, 'Result>> -> Func<'Context, 'TParam1, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, CancellationToken, TResult))) As Func(Of TContext, TParam1, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TParam1,TResult>(Expression<Func<TContext,TParam1,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,TParam1,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TParam1,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'Result>> -> Func<'Context, 'TParam1, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TResult))) As Func(Of TContext, TParam1, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TParam1

第一個查詢參數的類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TParam1,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,TParam1,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TResult,TProperty>(Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(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, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

TProperty

包含的屬性類型。

參數

queryExpression
Expression<Func<TContext,IIncludableQueryable<TResult,TProperty>>>

LINQ 查詢運算式。

傳回

Func<TContext,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)

警告

Use DbSet instead

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<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.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
[<System.Obsolete("Use DbSet instead")>]
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,DbQuery<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,AsyncEnumerable<TResult>>
Func<TContext,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

屬性

適用於

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, 'Result>> -> Func<'Context, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TResult))) As Func(Of TContext, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,CancellationToken,TResult>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,System.Threading.CancellationToken,System.Threading.Tasks.Task<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,System.Threading.CancellationToken,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, System.Threading.CancellationToken, 'Result>> -> Func<'Context, System.Threading.CancellationToken, System.Threading.Tasks.Task<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, CancellationToken, TResult))) As Func(Of TContext, CancellationToken, Task(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,CancellationToken,TResult>>

LINQ 查詢運算式。

傳回

Func<TContext,CancellationToken,Task<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,IQueryable<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, System.Linq.IQueryable<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, IQueryable(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,IQueryable<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,AsyncEnumerable<TResult>>
Func<TContext,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,DbSet<TResult>>>)

建立編譯的查詢委派,當叫用時,會執行指定的 LINQ 查詢。

public static Func<TContext,Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
public static Func<TContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbSet<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, Microsoft.EntityFrameworkCore.Query.AsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
static member CompileAsyncQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbSet<'Result>>> -> Func<'Context, System.Collections.Generic.IAsyncEnumerable<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, AsyncEnumerable(Of TResult))
Public Shared Function CompileAsyncQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbSet(Of TResult)))) As Func(Of TContext, IAsyncEnumerable(Of TResult))

類型參數

TContext

目標 DbCoNtext 類型。

TResult

查詢結果類型。

參數

queryExpression
Expression<Func<TContext,DbSet<TResult>>>

LINQ 查詢運算式。

傳回

Func<TContext,AsyncEnumerable<TResult>>
Func<TContext,IAsyncEnumerable<TResult>>

可以叫用以執行已編譯查詢的委派。

適用於