RelationalQueryCompilationContextFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RelationalQueryCompilationContextFactory(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
RelationalQueryCompilationContextFactory(IModel, ISensitiveDataLogger<RelationalQueryCompilationContextFactory>, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, MethodInfoBasedNodeTypeRegistry, ICurrentDbContext) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
RelationalQueryCompilationContextFactory(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
public RelationalQueryCompilationContextFactory (Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory : Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies * Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory
Public Sub New (dependencies As QueryCompilationContextDependencies, relationalDependencies As RelationalQueryCompilationContextDependencies)
参数
- dependencies
- Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies
- relationalDependencies
- RelationalQueryCompilationContextDependencies
适用于
RelationalQueryCompilationContextFactory(IModel, ISensitiveDataLogger<RelationalQueryCompilationContextFactory>, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, MethodInfoBasedNodeTypeRegistry, ICurrentDbContext)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
public RelationalQueryCompilationContextFactory (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger<Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory> logger, Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory entityQueryModelVisitorFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory requiresMaterializationExpressionVisitorFactory, Remotion.Linq.Parsing.Structure.NodeTypeProviders.MethodInfoBasedNodeTypeRegistry methodInfoBasedNodeTypeRegistry, Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentContext);
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.ISensitiveDataLogger<Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory> * Microsoft.EntityFrameworkCore.Query.IEntityQueryModelVisitorFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory * Remotion.Linq.Parsing.Structure.NodeTypeProviders.MethodInfoBasedNodeTypeRegistry * Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextFactory
Public Sub New (model As IModel, logger As ISensitiveDataLogger(Of RelationalQueryCompilationContextFactory), entityQueryModelVisitorFactory As IEntityQueryModelVisitorFactory, requiresMaterializationExpressionVisitorFactory As IRequiresMaterializationExpressionVisitorFactory, methodInfoBasedNodeTypeRegistry As MethodInfoBasedNodeTypeRegistry, currentContext As ICurrentDbContext)
参数
- model
- IModel
- entityQueryModelVisitorFactory
- IEntityQueryModelVisitorFactory
- requiresMaterializationExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory
- methodInfoBasedNodeTypeRegistry
- Remotion.Linq.Parsing.Structure.NodeTypeProviders.MethodInfoBasedNodeTypeRegistry
- currentContext
- Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext