RelationalQueryCompilationContext RelationalQueryCompilationContext Class

Definition

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

public class RelationalQueryCompilationContext : QueryCompilationContext
Public Class RelationalQueryCompilationContext
    Inherits QueryCompilationContext
Inheritance
System.ObjectSystem.Object
RelationalQueryCompilationContextRelationalQueryCompilationContext

Constructors

RelationalQueryCompilationContext(IModel, ISensitiveDataLogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, IQueryMethodProvider, Type, Boolean) 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.

Properties

ContextType ContextType

Gets the type of the context./

(Inherited from QueryCompilationContext)
IsIncludeQuery IsIncludeQuery

The query has at least one Include operation.

(Inherited from QueryCompilationContext)
IsLateralJoinSupported IsLateralJoinSupported

True if the current provider supports SQL LATERAL JOIN.

IsQueryBufferRequired IsQueryBufferRequired

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

(Inherited from QueryCompilationContext)
IsTrackingQuery IsTrackingQuery

Gets a value indicating whether this is a tracking query.

(Inherited from QueryCompilationContext)
LinqOperatorProvider LinqOperatorProvider

Gets the linq operator provider.

(Inherited from QueryCompilationContext)
Logger Logger

Gets the logger.

(Inherited from QueryCompilationContext)
Model Model

Gets the model.

(Inherited from QueryCompilationContext)
ParentQueryReferenceParameters ParentQueryReferenceParameters

Gets the list of parameter names that represent reference to a parent query.

QueryAnnotations QueryAnnotations

Gets the query annotations./

(Inherited from QueryCompilationContext)
QueryMethodProvider QueryMethodProvider

Gets the query method provider.

QuerySourceMapping QuerySourceMapping

Gets the query source mapping.

(Inherited from QueryCompilationContext)
TrackQueryResults TrackQueryResults

Gets a value indicating the default configured tracking behavior.

(Inherited from QueryCompilationContext)

Methods

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

Adds or updates the expression mapped to a query source.

(Inherited from QueryCompilationContext)
AddTrackableInclude(IQuerySource, IReadOnlyList<INavigation>) AddTrackableInclude(IQuerySource, IReadOnlyList(Of INavigation))

Adds a trackable include.

(Inherited from QueryCompilationContext)
CreateQueryModelVisitor() CreateQueryModelVisitor()

Creates a query model visitor.

CreateQueryModelVisitor(EntityQueryModelVisitor) CreateQueryModelVisitor(EntityQueryModelVisitor)

Creates query model visitor.

CreateUniqueTableAlias() CreateUniqueTableAlias()

Creates a unique table alias.

CreateUniqueTableAlias(String) CreateUniqueTableAlias(String)

Creates a unique table alias.

DetermineQueryBufferRequirement(QueryModel) DetermineQueryBufferRequirement(QueryModel)

Determine if the query requires a query buffer.

(Inherited from QueryCompilationContext)
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.

(Inherited from QueryCompilationContext)
FindSelectExpression(IQuerySource) FindSelectExpression(IQuerySource)

Searches for a select expression corresponding to the passed query source.

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

Gets all trackable includes for a given query source.

(Inherited from QueryCompilationContext)
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.

(Inherited from QueryCompilationContext)
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