EF 类

定义

在应用程序代码中非常有用的静态方法,其中没有要从中访问方法的 EF 类型。 例如,在 LINQ 查询中引用阴影状态属性。

public static class EF
type EF = class
Public Class EF
继承
EF

注解

请参阅 数据库函数 和使用 EF。EF Core 中的属性查询 以获取详细信息和示例。

属性

Functions

提供在 LINQ to Entities 查询中使用时转换为数据库函数的 CLR 方法。 在其他上下文中调用这些方法 (例如 LINQ to Objects) 将引发 NotSupportedException

IsDesignTime

从设计时工具(例如“dotnet ef”或包管理器控制台 PowerShell 命令之一“Add-Migration”、“Update-Database”等)运行代码时,此标志设置为 true

方法

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CompileAsyncQuery<TContext,TResult>(Expression<Func<TContext,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 查询。

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,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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<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,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,IQueryable<TResult>>>)

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

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

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

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,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 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, 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,IQueryable<TResult>>>)

创建一个已编译的查询委托,该委托在调用时将执行指定的 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,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,IQueryable<TResult>>>)

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

CompileQuery<TContext,TParam1,TParam2,TParam3,TParam4,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,TParam4,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,IQueryable<TResult>>>)

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

CompileQuery<TContext,TParam1,TParam2,TParam3,TResult>(Expression<Func<TContext,TParam1,TParam2,TParam3,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,IQueryable<TResult>>>)

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

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

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

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

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

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

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

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

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

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

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

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

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

Property<TProperty>(Object, String)

引用实体或复杂类型实例上的给定属性或导航。 这对于不存在 CLR 属性的阴影状态属性很有用。 目前,此方法只能在 LINQ 查询中使用,不能用于访问在其他方案中分配给属性的值。

适用于