EF.CompileQuery 方法

定义

重载

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15, IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9, TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult, TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TResult>(Expression<Func<TContext,DbQuery<TResult>>>)
已过时.

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15, IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TParam15

第十五个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TParam15

第十五个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TParam15,TResult>(Expression<Func<TContext,TParam1,TParam2, TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10, TParam11,TParam12,TParam13,TParam14,TParam15,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TParam15,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, 'TParam15, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TParam15 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TParam15

第十五个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult,TProperty>(Expression<Func<TContext,TParam1, TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9, TParam10,TParam11,TParam12,TParam13,TParam14,IIncludableQueryable<TResult, TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TParam14,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,TParam14,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TParam14,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, 'TParam14, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TParam14 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TParam14

第十四个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult,TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3, TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11, TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,IIncludableQueryable<TResult,TProperty>>>

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13, TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, TParam13,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TParam13,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, 'TParam13, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TParam13 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TParam13

第十三个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult, TProperty>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4, TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12, IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,IIncludableQueryable<TResult,TProperty>>>

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, 'TParam12, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TParam12 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TParam12,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TParam12,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TParam12

第十二个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,IIncludableQueryable<TResult,TProperty>>>

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,TResult>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,TParam11,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TParam11,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'TParam11, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TParam11 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TParam11

第十一个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5, TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty>(Expression<Func<TContext, TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8, TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,IIncludableQueryable<TResult,TProperty>>>

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TParam10,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'TParam10, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TParam10 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TParam10

第十个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

queryExpression
Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,IIncludableQueryable<TResult,TProperty>>>

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TParam9,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'TParam9, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TParam9 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TParam9

第九个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TParam8,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'TParam8, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TParam8 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TParam8

第八个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TParam7,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'TParam7, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TParam7 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TParam7

第七个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TParam6,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'TParam6, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TParam6 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TParam6

第六个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, 'Result (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TResult)

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,TParam5,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, 'TParam5, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TParam5 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, TParam5, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TParam5

第五个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, 'TParam4, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TParam4 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, TParam4, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TParam4

第四个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,TParam3,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TParam3,TResult> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,TParam3,System.Linq.IQueryable<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, 'TParam3, System.Linq.IQueryable<'Result>>> -> Func<'Context, 'TParam1, 'TParam2, 'TParam3, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TParam3 As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, TParam3, IQueryable(Of TResult)))) As Func(Of TContext, TParam1, TParam2, TParam3, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TParam3

第三个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,TParam2,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TParam2,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,TParam2,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, 'TParam2, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, 'TParam2, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TParam2 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, TParam2, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, TParam2, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

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

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TParam2

第二个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,TParam1,TParam2,TResult>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,TParam1,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TParam1,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,TParam1,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, 'TParam1, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, 'TParam1, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TParam1 As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, TParam1, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, TParam1, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,TParam1,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,TParam1,TResult>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TParam1

第一个查询参数的类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,TParam1,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult,TProperty> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<TResult,TProperty>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.Query.IIncludableQueryable<'Result, 'Property>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext, TProperty As DbContext) (queryExpression As Expression(Of Func(Of TContext, IIncludableQueryable(Of TResult, TProperty)))) As Func(Of TContext, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TResult

查询结果类型。

TProperty

包含的属性类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TResult

查询结果类型。

参数

queryExpression
Expression<Func<TContext,TResult>>

LINQ 查询表达式。

返回

Func<TContext,TResult>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

适用于

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

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

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

类型参数

TContext

目标 DbContext 类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

适用于

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

注意

Use DbSet instead

创建一个已编译的查询委托,该委托在调用时将执行指定的 LINQ 查询。

public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
[System.Obsolete("Use DbSet instead")]
public static Func<TContext,System.Collections.Generic.IEnumerable<TResult>> CompileQuery<TContext,TResult> (System.Linq.Expressions.Expression<Func<TContext,Microsoft.EntityFrameworkCore.DbQuery<TResult>>> queryExpression) where TContext : Microsoft.EntityFrameworkCore.DbContext where TResult : class;
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
[<System.Obsolete("Use DbSet instead")>]
static member CompileQuery : System.Linq.Expressions.Expression<Func<'Context, Microsoft.EntityFrameworkCore.DbQuery<'Result>>> -> Func<'Context, seq<'Result> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Result : null)
Public Shared Function CompileQuery(Of TContext As DbContext, TResult As DbContext) (queryExpression As Expression(Of Func(Of TContext, DbQuery(Of TResult)))) As Func(Of TContext, IEnumerable(Of TResult))

类型参数

TContext

目标 DbContext 类型。

TResult

查询结果类型。

参数

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

LINQ 查询表达式。

返回

Func<TContext,IEnumerable<TResult>>

可以调用以执行已编译查询的委托。

属性

适用于