QueryCompilationContext QueryCompilationContext Class

Definition

A query compilation context. The primary data structure representing the state/components used during query compilation.

public class QueryCompilationContext
Public Class QueryCompilationContext
Inheritance
System.ObjectSystem.Object
QueryCompilationContextQueryCompilationContext

Constructors

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

Properties

ContextType ContextType

Gets the type of the context./

IsIncludeQuery IsIncludeQuery

The query has at least one Include operation.

IsQueryBufferRequired IsQueryBufferRequired

Gets a value indicating whether this query requires a query buffer.

IsTrackingQuery IsTrackingQuery

Gets a value indicating whether this is a tracking query.

LinqOperatorProvider LinqOperatorProvider

Gets the linq operator provider.

Logger Logger

Gets the logger.

Model Model

Gets the model.

QueryAnnotations QueryAnnotations

Gets the query annotations./

QuerySourceMapping QuerySourceMapping

Gets the query source mapping.

TrackQueryResults TrackQueryResults

Gets a value indicating the default configured tracking behavior.

Methods

AddOrUpdateMapping(IQuerySource, Expression) AddOrUpdateMapping(IQuerySource, Expression)

Adds or updates the expression mapped to a query source.

AddTrackableInclude(IQuerySource, IReadOnlyList<INavigation>) AddTrackableInclude(IQuerySource, IReadOnlyList(Of INavigation))

Adds a trackable include.

CreateQueryModelVisitor() CreateQueryModelVisitor()

Creates query model visitor.

CreateQueryModelVisitor(EntityQueryModelVisitor) CreateQueryModelVisitor(EntityQueryModelVisitor)

Creates query model visitor.

DetermineQueryBufferRequirement(QueryModel) DetermineQueryBufferRequirement(QueryModel)

Determine if the query requires a query buffer.

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
FindQuerySourcesRequiringMaterialization(EntityQueryModelVisitor, QueryModel) FindQuerySourcesRequiringMaterialization(EntityQueryModelVisitor, QueryModel)

Determines all query sources that require materialization.

System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
GetTrackableIncludes(IQuerySource) GetTrackableIncludes(IQuerySource)

Gets all trackable includes for a given query source.

System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
QuerySourceRequiresMaterialization(IQuerySource) QuerySourceRequiresMaterialization(IQuerySource)

Determine whether or not a query source requires materialization.

System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object