SqlServerQueryModelVisitor SqlServerQueryModelVisitor 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 SqlServerQueryModelVisitor : RelationalQueryModelVisitor
Public Class SqlServerQueryModelVisitor
    Inherits RelationalQueryModelVisitor
Inheritance
System.ObjectSystem.Object
SqlServerQueryModelVisitorSqlServerQueryModelVisitor

Constructors

SqlServerQueryModelVisitor(IQueryOptimizer, INavigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor, IResultOperatorHandler, IEntityMaterializerSource, IExpressionPrinter, IRelationalAnnotationProvider, IIncludeExpressionVisitorFactory, ISqlTranslatingExpressionVisitorFactory, ICompositePredicateExpressionVisitorFactory, IConditionalRemovingExpressionVisitorFactory, IQueryFlattenerFactory, IDbContextOptions, RelationalQueryCompilationContext, SqlServerQueryModelVisitor) SqlServerQueryModelVisitor(IQueryOptimizer, INavigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor, IResultOperatorHandler, IEntityMaterializerSource, IExpressionPrinter, IRelationalAnnotationProvider, IIncludeExpressionVisitorFactory, ISqlTranslatingExpressionVisitorFactory, ICompositePredicateExpressionVisitorFactory, IConditionalRemovingExpressionVisitorFactory, IQueryFlattenerFactory, IDbContextOptions, RelationalQueryCompilationContext, SqlServerQueryModelVisitor)

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 SqlServerQueryModelVisitor(IQueryOptimizer queryOptimizer, INavigationRewritingExpressionVisitorFactory navigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor subQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory querySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory entityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor taskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory memberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory orderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory projectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory entityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor queryAnnotationExtractor, IResultOperatorHandler resultOperatorHandler, IEntityMaterializerSource entityMaterializerSource, IExpressionPrinter expressionPrinter, IRelationalAnnotationProvider relationalAnnotationProvider, IIncludeExpressionVisitorFactory includeExpressionVisitorFactory, ISqlTranslatingExpressionVisitorFactory sqlTranslatingExpressionVisitorFactory, ICompositePredicateExpressionVisitorFactory compositePredicateExpressionVisitorFactory, IConditionalRemovingExpressionVisitorFactory conditionalRemovingExpressionVisitorFactory, IQueryFlattenerFactory queryFlattenerFactory, IDbContextOptions contextOptions, RelationalQueryCompilationContext queryCompilationContext, SqlServerQueryModelVisitor parentQueryModelVisitor)
Public Sub New(queryOptimizer As IQueryOptimizer, navigationRewritingExpressionVisitorFactory As INavigationRewritingExpressionVisitorFactory, subQueryMemberPushDownExpressionVisitor As ISubQueryMemberPushDownExpressionVisitor, querySourceTracingExpressionVisitorFactory As IQuerySourceTracingExpressionVisitorFactory, entityResultFindingExpressionVisitorFactory As IEntityResultFindingExpressionVisitorFactory, taskBlockingExpressionVisitor As ITaskBlockingExpressionVisitor, memberAccessBindingExpressionVisitorFactory As IMemberAccessBindingExpressionVisitorFactory, orderingExpressionVisitorFactory As IOrderingExpressionVisitorFactory, projectionExpressionVisitorFactory As IProjectionExpressionVisitorFactory, entityQueryableExpressionVisitorFactory As IEntityQueryableExpressionVisitorFactory, queryAnnotationExtractor As IQueryAnnotationExtractor, resultOperatorHandler As IResultOperatorHandler, entityMaterializerSource As IEntityMaterializerSource, expressionPrinter As IExpressionPrinter, relationalAnnotationProvider As IRelationalAnnotationProvider, includeExpressionVisitorFactory As IIncludeExpressionVisitorFactory, sqlTranslatingExpressionVisitorFactory As ISqlTranslatingExpressionVisitorFactory, compositePredicateExpressionVisitorFactory As ICompositePredicateExpressionVisitorFactory, conditionalRemovingExpressionVisitorFactory As IConditionalRemovingExpressionVisitorFactory, queryFlattenerFactory As IQueryFlattenerFactory, contextOptions As IDbContextOptions, queryCompilationContext As RelationalQueryCompilationContext, parentQueryModelVisitor As SqlServerQueryModelVisitor)
Parameters

Methods

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

Inherited from EntityQueryModelVisitor

AddQuery(IQuerySource, SelectExpression) AddQuery(IQuerySource, SelectExpression)

BindLocalMethodCallExpression(MethodCallExpression) BindLocalMethodCallExpression(MethodCallExpression)

BindMemberExpression(MemberExpression, Action) BindMemberExpression(MemberExpression, Action(Of IProperty, IQuerySource))

Inherited from EntityQueryModelVisitor

BindMemberExpression(MemberExpression, Func, Boolean) BindMemberExpression(Of TResult)(MemberExpression, Func(Of IProperty, IQuerySource, SelectExpression, TResult), Boolean)

BindMemberExpression(MemberExpression, IQuerySource, Func) BindMemberExpression(Of TResult)(MemberExpression, IQuerySource, Func(Of IProperty, IQuerySource, TResult))

Inherited from EntityQueryModelVisitor

BindMemberToOuterQueryParameter(MemberExpression) BindMemberToOuterQueryParameter(MemberExpression)

BindMemberToValueBuffer(MemberExpression, Expression) BindMemberToValueBuffer(MemberExpression, Expression)

BindMethodCallExpression(MethodCallExpression, Action) BindMethodCallExpression(MethodCallExpression, Action(Of IProperty, IQuerySource))

Inherited from EntityQueryModelVisitor

BindMethodCallExpression(MethodCallExpression, Func, Boolean) BindMethodCallExpression(Of TResult)(MethodCallExpression, Func(Of IProperty, IQuerySource, SelectExpression, TResult), Boolean)

BindMethodCallExpression(MethodCallExpression, Func) BindMethodCallExpression(Of TResult)(MethodCallExpression, Func(Of IProperty, IQuerySource, TResult))

Inherited from EntityQueryModelVisitor

BindMethodCallExpression(MethodCallExpression, IQuerySource, Func) BindMethodCallExpression(Of TResult)(MethodCallExpression, IQuerySource, Func(Of IProperty, IQuerySource, TResult))

Inherited from EntityQueryModelVisitor

BindMethodCallToValueBuffer(MethodCallExpression, Expression) BindMethodCallToValueBuffer(MethodCallExpression, Expression)

BindMethodToOuterQueryParameter(MethodCallExpression) BindMethodToOuterQueryParameter(MethodCallExpression)

BindNavigationPathPropertyExpression(Expression, Func<>, IQuerySource, TResult>) BindNavigationPathPropertyExpression(Of TResult)(Expression, Func(Of IEnumerable(Of IPropertyBase), IQuerySource, TResult))

Inherited from EntityQueryModelVisitor

BindReadValueMethod(Type, Expression, Int32) BindReadValueMethod(Type, Expression, Int32)

Inherited from EntityQueryModelVisitor

CompileAdditionalFromClauseExpression(AdditionalFromClause, QueryModel) CompileAdditionalFromClauseExpression(AdditionalFromClause, QueryModel)

CompileGroupJoinInnerSequenceExpression(GroupJoinClause, QueryModel) CompileGroupJoinInnerSequenceExpression(GroupJoinClause, QueryModel)

CompileJoinClauseInnerSequenceExpression(JoinClause, QueryModel) CompileJoinClauseInnerSequenceExpression(JoinClause, QueryModel)

CompileMainFromClauseExpression(MainFromClause, QueryModel) CompileMainFromClauseExpression(MainFromClause, QueryModel)

CreateAsyncQueryExecutor(QueryModel) CreateAsyncQueryExecutor(Of TResult)(QueryModel)

Inherited from EntityQueryModelVisitor

CreateExecutorLambda() CreateExecutorLambda(Of TResults)()

Inherited from EntityQueryModelVisitor

CreatePropertyExpression(Expression, IProperty) CreatePropertyExpression(Expression, IProperty)

Inherited from EntityQueryModelVisitor

CreateQueryExecutor(QueryModel) CreateQueryExecutor(Of TResult)(QueryModel)

Inherited from EntityQueryModelVisitor

ExtractQueryAnnotations(QueryModel) ExtractQueryAnnotations(QueryModel)

Inherited from EntityQueryModelVisitor

IncludeNavigations(IncludeSpecification, Type, Expression, Boolean) IncludeNavigations(IncludeSpecification, Type, Expression, Boolean)

IncludeNavigations(QueryModel) IncludeNavigations(QueryModel)

Inherited from EntityQueryModelVisitor

IncludeNavigations(QueryModel, IReadOnlyCollection) IncludeNavigations(QueryModel, IReadOnlyCollection(Of IncludeSpecification))

InterceptExceptions() InterceptExceptions()

Inherited from EntityQueryModelVisitor

IsPropertyMethod(MethodInfo) IsPropertyMethod(MethodInfo)

Inherited from EntityQueryModelVisitor

OptimizeJoinClause(JoinClause, QueryModel, Int32, Action, MethodInfo, Boolean) OptimizeJoinClause(JoinClause, QueryModel, Int32, Action, MethodInfo, Boolean)

OptimizeQueryModel(QueryModel) OptimizeQueryModel(QueryModel)

Inherited from EntityQueryModelVisitor

RegisterSubQueryVisitor(IQuerySource, RelationalQueryModelVisitor) RegisterSubQueryVisitor(IQuerySource, RelationalQueryModelVisitor)

ReplaceClauseReferences(Expression, IQuerySource, Boolean) ReplaceClauseReferences(Expression, IQuerySource, Boolean)

Inherited from EntityQueryModelVisitor

SingleResultToSequence(QueryModel, Type) SingleResultToSequence(QueryModel, Type)

Inherited from EntityQueryModelVisitor

TrackEntitiesInResults(QueryModel) TrackEntitiesInResults(Of TResult)(QueryModel)

Inherited from EntityQueryModelVisitor

TryGetQuery(IQuerySource) TryGetQuery(IQuerySource)

VisitAdditionalFromClause(AdditionalFromClause, QueryModel, Int32) VisitAdditionalFromClause(AdditionalFromClause, QueryModel, Int32)

VisitGroupJoinClause(GroupJoinClause, QueryModel, Int32) VisitGroupJoinClause(GroupJoinClause, QueryModel, Int32)

VisitJoinClause(JoinClause, QueryModel, Int32) VisitJoinClause(JoinClause, QueryModel, Int32)

VisitMainFromClause(MainFromClause, QueryModel) VisitMainFromClause(MainFromClause, QueryModel)

Inherited from EntityQueryModelVisitor

VisitOrderByClause(OrderByClause, QueryModel, Int32) VisitOrderByClause(OrderByClause, QueryModel, Int32)

VisitOrdering(Ordering, QueryModel, OrderByClause, Int32) VisitOrdering(Ordering, QueryModel, OrderByClause, Int32)

Inherited from EntityQueryModelVisitor

VisitQueryModel(QueryModel) VisitQueryModel(QueryModel)

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 void VisitQueryModel(QueryModel queryModel)
Public Overrides Sub VisitQueryModel(queryModel As QueryModel)
Parameters
queryModel
QueryModel QueryModel

VisitResultOperator(ResultOperatorBase, QueryModel, Int32) VisitResultOperator(ResultOperatorBase, QueryModel, Int32)

VisitSelectClause(SelectClause, QueryModel) VisitSelectClause(SelectClause, QueryModel)

Inherited from EntityQueryModelVisitor

VisitSubQueryModel(QueryModel) VisitSubQueryModel(QueryModel)

VisitWhereClause(WhereClause, QueryModel, Int32) VisitWhereClause(WhereClause, QueryModel, Int32)

WarnClientEval(Object) WarnClientEval(Object)

Properties

ContextOptions ContextOptions

CurrentParameter CurrentParameter

Inherited from EntityQueryModelVisitor

Expression Expression

Inherited from EntityQueryModelVisitor

LinqOperatorProvider LinqOperatorProvider

Inherited from EntityQueryModelVisitor

ParentQueryModelVisitor ParentQueryModelVisitor

Queries Queries

QueriesBySource QueriesBySource

QueryCompilationContext QueryCompilationContext

RequiresClientEval RequiresClientEval

RequiresClientFilter RequiresClientFilter

RequiresClientJoin RequiresClientJoin

RequiresClientOrderBy RequiresClientOrderBy

RequiresClientProjection RequiresClientProjection

RequiresClientResultOperator RequiresClientResultOperator

RequiresClientSelectMany RequiresClientSelectMany

Fields

QueryContextParameter QueryContextParameter

Inherited from EntityQueryModelVisitor