QueryCompilationContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
QueryCompilationContext(QueryCompilationContextDependencies, Boolean) |
创建 QueryCompilationContext 类的新实例。 |
QueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, Boolean) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
QueryCompilationContext(IModel, ILogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, Type, Boolean) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
QueryCompilationContext(QueryCompilationContextDependencies, Boolean)
创建 QueryCompilationContext 类的新实例。
public QueryCompilationContext (Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies dependencies, bool async);
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContext : Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies * bool -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, async As Boolean)
参数
- dependencies
- QueryCompilationContextDependencies
包含此类依赖项的参数对象。
- async
- Boolean
一个布尔值,指示它是否用于异步查询。
适用于
QueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, Boolean)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
public QueryCompilationContext (Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider linqOperatorProvider, bool trackQueryResults);
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContext : Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies * Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider * bool -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, linqOperatorProvider As ILinqOperatorProvider, trackQueryResults As Boolean)
参数
- dependencies
- Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies
- linqOperatorProvider
- Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
- trackQueryResults
- Boolean
适用于
QueryCompilationContext(IModel, ILogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, Type, Boolean)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
public QueryCompilationContext (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.Extensions.Logging.ILogger logger, Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory entityQueryModelVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory requiresMaterializationExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider linqOperatorProvider, Type contextType, bool trackQueryResults);
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContext : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.Extensions.Logging.ILogger * Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider * Type * bool -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Sub New (model As IModel, logger As ILogger, entityQueryModelVisitorFactory As IEntityQueryModelVisitorFactory, requiresMaterializationExpressionVisitorFactory As IRequiresMaterializationExpressionVisitorFactory, linqOperatorProvider As ILinqOperatorProvider, contextType As Type, trackQueryResults As Boolean)
参数
- model
- IModel
- logger
- ILogger
- entityQueryModelVisitorFactory
- IEntityQueryModelVisitorFactory
- requiresMaterializationExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory
- linqOperatorProvider
- Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
- contextType
- Type
- trackQueryResults
- Boolean