RelationalEntityQueryableExpressionVisitor RelationalEntityQueryableExpressionVisitor Class

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

Syntax

Declaration

public class RelationalEntityQueryableExpressionVisitor : EntityQueryableExpressionVisitorPublic Class RelationalEntityQueryableExpressionVisitor
    Inherits EntityQueryableExpressionVisitor

Inheritance Hierarchy

Inherited Members

VisitConstant(ConstantExpression),
VisitConstant(ConstantExpression),
QueryModelVisitor,
QueryModelVisitor,
CreateQueryModelVisitor(),
CreateQueryModelVisitor(),
VisitParameter(ParameterExpression),
VisitParameter(ParameterExpression),
GetParameterValueMethodInfo,
GetParameterValueMethodInfo,
Visit(Expression),
Visit(Expression),
VisitExtension(Expression)
VisitExtension(Expression)

Constructors summary

Creates a new instance of RelationalEntityQueryableExpressionVisitor.

Methods summary

Visit an entity query root.

Visit a member expression.

Visit a method call expression.

Visit a sub-query expression.

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

Methods

  • 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.

  • 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.

  • 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.

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll