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