RelationalQueryCompilationContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RelationalQueryCompilationContext(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies, Boolean)
Creates a new instance of the RelationalQueryCompilationContext class.
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)
Parameters
- dependencies
- QueryCompilationContextDependencies
Parameter object containing dependencies for this class.
- relationalDependencies
- RelationalQueryCompilationContextDependencies
Parameter object containing relational dependencies for this class.
- async
- Boolean
A bool value indicating whether it is for async query.
Applies to
RelationalQueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, IQueryMethodProvider, Boolean)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
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)
Parameters
- dependencies
- Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies
- linqOperatorProvider
- Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
- queryMethodProvider
- IQueryMethodProvider
- trackQueryResults
- Boolean
Applies to
RelationalQueryCompilationContext(QueryCompilationContextDependencies, RelationalQueryCompilationContextDependencies, Boolean, Boolean, IReadOnlySet<String>)
Creates a new instance of the RelationalQueryCompilationContext class.
[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public RelationalQueryCompilationContext (Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies dependencies, Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies relationalDependencies, bool async, bool precompiling, System.Collections.Generic.IReadOnlySet<string>? nonNullableReferenceTypeParameters);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
new Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext : Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies * Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies * bool * bool * System.Collections.Generic.IReadOnlySet<string> -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, relationalDependencies As RelationalQueryCompilationContextDependencies, async As Boolean, precompiling As Boolean, nonNullableReferenceTypeParameters As IReadOnlySet(Of String))
Parameters
- dependencies
- QueryCompilationContextDependencies
Parameter object containing dependencies for this class.
- relationalDependencies
- RelationalQueryCompilationContextDependencies
Parameter object containing relational dependencies for this class.
- async
- Boolean
A bool value indicating whether it is for async query.
- precompiling
- Boolean
Indicates whether the query is being precompiled.
- nonNullableReferenceTypeParameters
- IReadOnlySet<String>
Names of parameters which have non-nullable reference types.
- Attributes
Applies to
RelationalQueryCompilationContext(IModel, ISensitiveDataLogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, IQueryMethodProvider, Type, Boolean)
This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
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)
Parameters
- model
- IModel
- logger
- ISensitiveDataLogger
- entityQueryModelVisitorFactory
- IEntityQueryModelVisitorFactory
- requiresMaterializationExpressionVisitorFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory
- linqOperatorProvider
- Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
- queryMethodProvider
- IQueryMethodProvider
- contextType
- Type
- trackQueryResults
- Boolean