SqlServerQueryCompilationContext SqlServerQueryCompilationContext Class

Definition

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 class SqlServerQueryCompilationContext : RelationalQueryCompilationContext
Public Class SqlServerQueryCompilationContext
    Inherits RelationalQueryCompilationContext
Inheritance
System.ObjectSystem.Object
SqlServerQueryCompilationContextSqlServerQueryCompilationContext

Constructors

SqlServerQueryCompilationContext(IModel, ISensitiveDataLogger, IEntityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider, IQueryMethodProvider, Type, Boolean) SqlServerQueryCompilationContext(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 SqlServerQueryCompilationContext(IModel model, ISensitiveDataLogger logger, IEntityQueryModelVisitorFactory entityQueryModelVisitorFactory, IRequiresMaterializationExpressionVisitorFactory requiresMaterializationExpressionVisitorFactory, ILinqOperatorProvider linqOperatorProvider, IQueryMethodProvider queryMethodProvider, Type contextType, bool trackQueryResults)
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 IModel
contextType
System.Type System.Type
trackQueryResults
System.Boolean System.Boolean

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

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 override bool IsLateralJoinSupported { get; }
Public Overrides ReadOnly Property IsLateralJoinSupported As Boolean
Value
System.Boolean System.Boolean
Overrides

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.

(Inherited from RelationalQueryCompilationContext)

QueryAnnotations QueryAnnotations

Gets the query annotations./

(Inherited from QueryCompilationContext)

QueryMethodProvider QueryMethodProvider

Gets the query method provider.

(Inherited from RelationalQueryCompilationContext)

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) AddTrackableInclude(IQuerySource, IReadOnlyList(Of INavigation))

Adds a trackable include.

(Inherited from QueryCompilationContext)

CreateQueryModelVisitor() CreateQueryModelVisitor()

Creates a query model visitor.

(Inherited from RelationalQueryCompilationContext)

CreateQueryModelVisitor(EntityQueryModelVisitor) CreateQueryModelVisitor(EntityQueryModelVisitor)

Creates query model visitor.

(Inherited from RelationalQueryCompilationContext)

CreateUniqueTableAlias() CreateUniqueTableAlias()

Creates a unique table alias.

(Inherited from RelationalQueryCompilationContext)

CreateUniqueTableAlias(String) CreateUniqueTableAlias(String)

Creates a unique table alias.

(Inherited from RelationalQueryCompilationContext)

DetermineQueryBufferRequirement(QueryModel) DetermineQueryBufferRequirement(QueryModel)

Determine if the query requires a query buffer.

(Inherited from QueryCompilationContext)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, 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.

(Inherited from RelationalQueryCompilationContext)

GetHashCode() GetHashCode()

Inherited from System.Object

GetTrackableIncludes(IQuerySource) GetTrackableIncludes(IQuerySource)

Gets all trackable includes for a given query source.

(Inherited from QueryCompilationContext)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

QuerySourceRequiresMaterialization(IQuerySource) QuerySourceRequiresMaterialization(IQuerySource)

Determine whether or not a query source requires materialization.

(Inherited from QueryCompilationContext)

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object