RelationalEntityQueryableExpressionVisitor RelationalEntityQueryableExpressionVisitor Class

Definition

A visitor that performs basic relational query translation of EF query roots.

public class RelationalEntityQueryableExpressionVisitor : EntityQueryableExpressionVisitor
Public Class RelationalEntityQueryableExpressionVisitor
    Inherits EntityQueryableExpressionVisitor
Inheritance
System.ObjectSystem.Object
RelationalEntityQueryableExpressionVisitorRelationalEntityQueryableExpressionVisitor

Constructors

RelationalEntityQueryableExpressionVisitor(IModel, ISelectExpressionFactory, IMaterializerFactory, IShaperCommandContextFactory, IRelationalAnnotationProvider, RelationalQueryModelVisitor, IQuerySource) RelationalEntityQueryableExpressionVisitor(IModel, ISelectExpressionFactory, IMaterializerFactory, IShaperCommandContextFactory, IRelationalAnnotationProvider, RelationalQueryModelVisitor, IQuerySource)

Creates a new instance of RelationalEntityQueryableExpressionVisitor.

public RelationalEntityQueryableExpressionVisitor(IModel model, ISelectExpressionFactory selectExpressionFactory, IMaterializerFactory materializerFactory, IShaperCommandContextFactory shaperCommandContextFactory, IRelationalAnnotationProvider relationalAnnotationProvider, RelationalQueryModelVisitor queryModelVisitor, IQuerySource querySource)
Public Sub New(model As IModel, selectExpressionFactory As ISelectExpressionFactory, materializerFactory As IMaterializerFactory, shaperCommandContextFactory As IShaperCommandContextFactory, relationalAnnotationProvider As IRelationalAnnotationProvider, queryModelVisitor As RelationalQueryModelVisitor, querySource As IQuerySource)
Parameters
model
IModel IModel

The model.

selectExpressionFactory
ISelectExpressionFactory ISelectExpressionFactory

The select expression factory.

materializerFactory
IMaterializerFactory IMaterializerFactory

The materializer factory.

shaperCommandContextFactory
IShaperCommandContextFactory IShaperCommandContextFactory

The shaper command context factory.

relationalAnnotationProvider
IRelationalAnnotationProvider IRelationalAnnotationProvider

The relational annotation provider.

queryModelVisitor
RelationalQueryModelVisitor RelationalQueryModelVisitor

The query model visitor.

querySource
IQuerySource IQuerySource

The query source.

Methods

CreateQueryModelVisitor() CreateQueryModelVisitor()

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.

(Inherited from DefaultQueryExpressionVisitor)

Visit(Expression) Visit(Expression)

Visits the given node.

(Inherited from ExpressionVisitorBase)

VisitConstant(ConstantExpression) VisitConstant(ConstantExpression)

Visits System.Linq.Expressions.ConstantExpression nodes.

(Inherited from EntityQueryableExpressionVisitor)

VisitEntityQueryable(Type) VisitEntityQueryable(Type)

Visit an entity query root.

protected override Expression VisitEntityQueryable(Type elementType)
Protected Overrides Function VisitEntityQueryable(elementType As Type) As Expression
Parameters
elementType
System.Type System.Type

The CLR type of the entity root.

Returns
System.Linq.Expressions.Expression System.Linq.Expressions.Expression

An Expression corresponding to the translated entity root.

Overrides

VisitExtension(Expression) VisitExtension(Expression)

Visits the children of the extension expression.

(Inherited from ExpressionVisitorBase)

VisitMember(MemberExpression) VisitMember(MemberExpression)

Visit a member expression.

protected override Expression VisitMember(MemberExpression node)
Protected Overrides Function VisitMember(node As MemberExpression) As Expression
Parameters
node
System.Linq.Expressions.MemberExpression System.Linq.Expressions.MemberExpression

The expression to visit.

Returns
System.Linq.Expressions.Expression System.Linq.Expressions.Expression

An Expression corresponding to the translated member.

VisitMethodCall(MethodCallExpression) VisitMethodCall(MethodCallExpression)

Visit a method call expression.

protected override Expression VisitMethodCall(MethodCallExpression node)
Protected Overrides Function VisitMethodCall(node As MethodCallExpression) As Expression
Parameters
node
System.Linq.Expressions.MethodCallExpression System.Linq.Expressions.MethodCallExpression

The expression to visit.

Returns
System.Linq.Expressions.Expression System.Linq.Expressions.Expression

An Expression corresponding to the translated method call.

VisitParameter(ParameterExpression) VisitParameter(ParameterExpression)

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.

(Inherited from DefaultQueryExpressionVisitor)

VisitSubQuery(SubQueryExpression) VisitSubQuery(SubQueryExpression)

Visit a sub-query expression.

protected override Expression VisitSubQuery(SubQueryExpression expression)
Protected Overrides Function VisitSubQuery(expression As SubQueryExpression) As Expression
Parameters
expression
SubQueryExpression SubQueryExpression

The expression.

Returns
System.Linq.Expressions.Expression System.Linq.Expressions.Expression

An Expression corresponding to the translated sub-query.

Properties

QueryModelVisitor QueryModelVisitor

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.

(Inherited from DefaultQueryExpressionVisitor)

Fields

GetParameterValueMethodInfo GetParameterValueMethodInfo

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.

(Inherited from DefaultQueryExpressionVisitor)