RelationalQueryCompilationContext 构造函数

定义

重载

RelationalQueryCompilationContext(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies, Boolean)

创建 RelationalQueryCompilationContext 类的新实例。

RelationalQueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, IQueryMethodProvider, Boolean)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

RelationalQueryCompilationContext(IModel, ISensitiveDataLogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, IQueryMethodProvider, Type, Boolean)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

RelationalQueryCompilationContext(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies, Boolean)

创建 RelationalQueryCompilationContext 类的新实例。

public RelationalQueryCompilationContext (Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies relationalDependencies, bool async);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext : Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies * Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies * bool -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, relationalDependencies As RelationalQueryCompilationContextDependencies, async As Boolean)

参数

dependencies
QueryCompilationContextDependencies

包含此类依赖项的参数对象。

relationalDependencies
RelationalQueryCompilationContextDependencies

包含此类的关系依赖项的参数对象。

async
Boolean

一个布尔值,指示它是否用于异步查询。

适用于

RelationalQueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, IQueryMethodProvider, Boolean)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

public RelationalQueryCompilationContext (Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider linqOperatorProvider, Microsoft.EntityFrameworkCore.Query.IQueryMethodProvider queryMethodProvider, bool trackQueryResults);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext : Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies * Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider * Microsoft.EntityFrameworkCore.Query.IQueryMethodProvider * bool -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, linqOperatorProvider As ILinqOperatorProvider, queryMethodProvider As IQueryMethodProvider, trackQueryResults As Boolean)

参数

dependencies
Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies
linqOperatorProvider
Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
queryMethodProvider
IQueryMethodProvider
trackQueryResults
Boolean

适用于

RelationalQueryCompilationContext(IModel, ISensitiveDataLogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, IQueryMethodProvider, Type, Boolean)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

public RelationalQueryCompilationContext (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger logger, Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory entityQueryModelVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory requiresMaterializationExpressionVisitorFactory, Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider linqOperatorProvider, Microsoft.EntityFrameworkCore.Query.IQueryMethodProvider queryMethodProvider, Type contextType, bool trackQueryResults);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger * Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory * Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider * Microsoft.EntityFrameworkCore.Query.IQueryMethodProvider * Type * bool -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext
Public Sub New (model As IModel, logger As ISensitiveDataLogger, entityQueryModelVisitorFactory As IEntityQueryModelVisitorFactory, requiresMaterializationExpressionVisitorFactory As IRequiresMaterializationExpressionVisitorFactory, linqOperatorProvider As ILinqOperatorProvider, queryMethodProvider As IQueryMethodProvider, contextType As Type, trackQueryResults As Boolean)

参数

model
IModel
entityQueryModelVisitorFactory
IEntityQueryModelVisitorFactory
requiresMaterializationExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory
linqOperatorProvider
Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
queryMethodProvider
IQueryMethodProvider
contextType
Type
trackQueryResults
Boolean

适用于