共用方式為


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

包含這個目錄關係型相依性的 Parameter 物件。

async
Boolean

bool 值,指出它是否用於非同步查詢。

適用於

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

適用於