共用方式為


RelationalQueryCompilationContextFactory 建構函式

定義

多載

RelationalQueryCompilationContextFactory(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

RelationalQueryCompilationContextFactory(IModel, ISensitiveDataLogger<RelationalQueryCompilationContextFactory>, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, MethodInfoBasedNodeTypeRegistry, ICurrentDbContext)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

RelationalQueryCompilationContextFactory(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies)

來源:
RelationalQueryCompilationContextFactory.cs
來源:
RelationalQueryCompilationContextFactory.cs

此 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

適用於

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

適用於