RelationalProjectionExpressionVisitor RelationalProjectionExpressionVisitor Class

An expression visitor for translating relational LINQ query projections.

Syntax

Declaration

public class RelationalProjectionExpressionVisitor : ProjectionExpressionVisitorPublic Class RelationalProjectionExpressionVisitor
    Inherits ProjectionExpressionVisitor

Inheritance Hierarchy

Inherited Members

VisitSubQuery(SubQueryExpression),
VisitSubQuery(SubQueryExpression),
QueryModelVisitor,
QueryModelVisitor,
CreateQueryModelVisitor(),
CreateQueryModelVisitor(),
VisitParameter(ParameterExpression),
VisitParameter(ParameterExpression),
GetParameterValueMethodInfo,
GetParameterValueMethodInfo,
VisitExtension(Expression)
VisitExtension(Expression)

Constructors summary

Creates a new instance of RelationalProjectionExpressionVisitor.

Methods summary

Visits the given node.

Visit a method call expression.

Visit a new expression.

Constructors

  • RelationalProjectionExpressionVisitor(ISqlTranslatingExpressionVisitorFactory, IEntityMaterializerSource, RelationalQueryModelVisitor, IQuerySource)
    RelationalProjectionExpressionVisitor(ISqlTranslatingExpressionVisitorFactory, IEntityMaterializerSource, RelationalQueryModelVisitor, IQuerySource)

    Creates a new instance of RelationalProjectionExpressionVisitor.

    public RelationalProjectionExpressionVisitor(ISqlTranslatingExpressionVisitorFactory sqlTranslatingExpressionVisitorFactory, IEntityMaterializerSource entityMaterializerSource, RelationalQueryModelVisitor queryModelVisitor, IQuerySource querySource)Public Sub New(sqlTranslatingExpressionVisitorFactory As ISqlTranslatingExpressionVisitorFactory, entityMaterializerSource As IEntityMaterializerSource, queryModelVisitor As RelationalQueryModelVisitor, querySource As IQuerySource)

    Parameters

Methods

  • Visit(Expression)
    Visit(Expression)

    Visits the given node.

    public override Expression Visit(Expression node)Public Overrides Function Visit(node As Expression) As Expression

    Parameters

    • node
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression to visit.

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      An Expression to the translated input expression.

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

  • VisitNew(NewExpression)
    VisitNew(NewExpression)

    Visit a new expression.

    protected override Expression VisitNew(NewExpression expression)Protected Overrides Function VisitNew(expression As NewExpression) As Expression

    Parameters

    • expression
      System.Linq.Expressions.NewExpression
      System.Linq.Expressions.NewExpression

      The expression to visit.

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      An Expression corresponding to the translated new expression.

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll