InMemoryQueryModelVisitor InMemoryQueryModelVisitor 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 InMemoryQueryModelVisitor : EntityQueryModelVisitor
Public Class InMemoryQueryModelVisitor
    Inherits EntityQueryModelVisitor
Inheritance
System.ObjectSystem.Object
InMemoryQueryModelVisitorInMemoryQueryModelVisitor

Constructors

InMemoryQueryModelVisitor(IQueryOptimizer, INavigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor, IResultOperatorHandler, IEntityMaterializerSource, IExpressionPrinter, IMaterializerFactory, QueryCompilationContext) InMemoryQueryModelVisitor(IQueryOptimizer, INavigationRewritingExpressionVisitorFactory, ISubQueryMemberPushDownExpressionVisitor, IQuerySourceTracingExpressionVisitorFactory, IEntityResultFindingExpressionVisitorFactory, ITaskBlockingExpressionVisitor, IMemberAccessBindingExpressionVisitorFactory, IOrderingExpressionVisitorFactory, IProjectionExpressionVisitorFactory, IEntityQueryableExpressionVisitorFactory, IQueryAnnotationExtractor, IResultOperatorHandler, IEntityMaterializerSource, IExpressionPrinter, IMaterializerFactory, QueryCompilationContext)

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 InMemoryQueryModelVisitor(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, IMaterializerFactory materializerFactory, QueryCompilationContext queryCompilationContext)
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, materializerFactory As IMaterializerFactory, queryCompilationContext As QueryCompilationContext)
Parameters

Fields

EntityQueryMethodInfo EntityQueryMethodInfo

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 static readonly MethodInfo EntityQueryMethodInfo
Public Shared ReadOnly EntityQueryMethodInfo As MethodInfo

OfTypeMethodInfo OfTypeMethodInfo

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 static readonly MethodInfo OfTypeMethodInfo
Public Shared ReadOnly OfTypeMethodInfo As MethodInfo

ProjectionQueryMethodInfo ProjectionQueryMethodInfo

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 static readonly MethodInfo ProjectionQueryMethodInfo
Public Shared ReadOnly ProjectionQueryMethodInfo As MethodInfo

QueryContextParameter QueryContextParameter

Expression to reference the QueryContext parameter for a query.

(Inherited from EntityQueryModelVisitor)

Methods

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

Adds or updates the expression mapped to a query source.

(Inherited from EntityQueryModelVisitor)

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

Binds a member expression.

(Inherited from EntityQueryModelVisitor)

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

Inherited from EntityQueryModelVisitor

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

Binds a member access to a value buffer access.

(Inherited from EntityQueryModelVisitor)

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

Binds a method call expression.

(Inherited from EntityQueryModelVisitor)

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)

Binds a method call to a value buffer access.

(Inherited from EntityQueryModelVisitor)

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)

Binds a value buffer read.

(Inherited from EntityQueryModelVisitor)

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

Compiles nodes.

(Inherited from EntityQueryModelVisitor)

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

Compiles nodes.

(Inherited from EntityQueryModelVisitor)

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

Compiles nodes.

(Inherited from EntityQueryModelVisitor)

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

Compiles the node.

(Inherited from EntityQueryModelVisitor)

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

Creates an action to asynchronously execute this query.

(Inherited from EntityQueryModelVisitor)

CreateExecutorLambda() CreateExecutorLambda(Of TResults)()

Creates an action to execute this query.

(Inherited from EntityQueryModelVisitor)

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

Creates an expression to access the given property on an given entity.

(Inherited from EntityQueryModelVisitor)

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

Creates an action to execute this query.

(Inherited from EntityQueryModelVisitor)

ExtractQueryAnnotations(QueryModel) ExtractQueryAnnotations(QueryModel)

Populates QueryAnnotations based on annotations found in the query.

(Inherited from EntityQueryModelVisitor)

IncludeNavigations(IncludeSpecification, Type, Expression, Boolean) IncludeNavigations(IncludeSpecification, Type, Expression, 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.

protected override void IncludeNavigations(IncludeSpecification includeSpecification, Type resultType, Expression accessorExpression, bool querySourceRequiresTracking)
Protected Overrides Sub IncludeNavigations(includeSpecification As IncludeSpecification, resultType As Type, accessorExpression As Expression, querySourceRequiresTracking As Boolean)
Parameters
resultType
System.Type System.Type
accessorExpression
System.Linq.Expressions.Expression System.Linq.Expressions.Expression
querySourceRequiresTracking
System.Boolean System.Boolean
Overrides

IncludeNavigations(QueryModel) IncludeNavigations(QueryModel)

Includes related data requested in the LINQ query.

(Inherited from EntityQueryModelVisitor)

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

Includes related data requested in the LINQ query.

(Inherited from EntityQueryModelVisitor)

InterceptExceptions() InterceptExceptions()

Executes the query and logs any exceptions that occur.

(Inherited from EntityQueryModelVisitor)

IsPropertyMethod(MethodInfo) IsPropertyMethod(MethodInfo)

Determines if a System.Reflection.MethodInfo is referencing the Property<TProperty>(Object, String) method.

(Inherited from EntityQueryModelVisitor)

OptimizeQueryModel(QueryModel) OptimizeQueryModel(QueryModel)

Applies optimizations to the query.

(Inherited from EntityQueryModelVisitor)

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

Translates a re-linq query model expression into a compiled query expression.

(Inherited from EntityQueryModelVisitor)

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

Converts the results of the query from a single result to a series of results.

(Inherited from EntityQueryModelVisitor)

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

Applies tracking behavior to the query.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

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

Visits the node.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

VisitQueryModel(QueryModel) VisitQueryModel(QueryModel)

Visits the root node.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

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

Visits nodes.

(Inherited from EntityQueryModelVisitor)

Properties

CurrentParameter CurrentParameter

Gets the expression for the current parameter.

(Inherited from EntityQueryModelVisitor)

Expression Expression

Gets the expression that represents this query.

(Inherited from EntityQueryModelVisitor)

LinqOperatorProvider LinqOperatorProvider

Gets the ILinqOperatorProvider being used for this query.

(Inherited from EntityQueryModelVisitor)

QueryCompilationContext QueryCompilationContext

Gets the QueryCompilationContext being used for this query.

(Inherited from EntityQueryModelVisitor)