Share via


QueryCompilationContext Constructors

Definition

Overloads

QueryCompilationContext(QueryCompilationContextDependencies, Boolean)

Creates a new instance of the QueryCompilationContext class.

QueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, 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.

QueryCompilationContext(QueryCompilationContextDependencies, Boolean, Boolean, IReadOnlySet<String>)

Creates a new instance of the QueryCompilationContext class.

QueryCompilationContext(IModel, ILogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, 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.

QueryCompilationContext(QueryCompilationContextDependencies, Boolean)

Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs

Creates a new instance of the QueryCompilationContext class.

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)

Parameters

dependencies
QueryCompilationContextDependencies

Parameter object containing dependencies for this class.

async
Boolean

A bool value indicating whether it is for async query.

Applies to

QueryCompilationContext(QueryCompilationContextDependencies, ILinqOperatorProvider, Boolean)

Source:
QueryCompilationContext.cs
Source:
QueryCompilationContext.cs

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 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)

Parameters

dependencies
Microsoft.EntityFrameworkCore.Query.Internal.QueryCompilationContextDependencies
linqOperatorProvider
Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
trackQueryResults
Boolean

Applies to

QueryCompilationContext(QueryCompilationContextDependencies, Boolean, Boolean, IReadOnlySet<String>)

Source:
QueryCompilationContext.cs

Creates a new instance of the QueryCompilationContext class.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public QueryCompilationContext (Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies dependencies, bool async, bool precompiling, System.Collections.Generic.IReadOnlySet<string>? nonNullableReferenceTypeParameters);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
new Microsoft.EntityFrameworkCore.Query.QueryCompilationContext : Microsoft.EntityFrameworkCore.Query.QueryCompilationContextDependencies * bool * bool * System.Collections.Generic.IReadOnlySet<string> -> Microsoft.EntityFrameworkCore.Query.QueryCompilationContext
Public Sub New (dependencies As QueryCompilationContextDependencies, async As Boolean, precompiling As Boolean, nonNullableReferenceTypeParameters As IReadOnlySet(Of String))

Parameters

dependencies
QueryCompilationContextDependencies

Parameter object containing 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

QueryCompilationContext(IModel, ILogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, 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 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)

Parameters

model
IModel
logger
ILogger
entityQueryModelVisitorFactory
IEntityQueryModelVisitorFactory
requiresMaterializationExpressionVisitorFactory
Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IRequiresMaterializationExpressionVisitorFactory
linqOperatorProvider
Microsoft.EntityFrameworkCore.Query.Internal.ILinqOperatorProvider
contextType
Type
trackQueryResults
Boolean

Applies to