RelationalProjectionExpressionVisitor RelationalProjectionExpressionVisitor Class

Definition

An expression visitor for translating relational LINQ query projections.

public class RelationalProjectionExpressionVisitor : ProjectionExpressionVisitor
Public Class RelationalProjectionExpressionVisitor
    Inherits ProjectionExpressionVisitor
Inheritance

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
sqlTranslatingExpressionVisitorFactory
ISqlTranslatingExpressionVisitorFactory ISqlTranslatingExpressionVisitorFactory

The SQL translating expression visitor factory.

entityMaterializerSource
IEntityMaterializerSource IEntityMaterializerSource

The entity materializer source.

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.

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.

Overrides

VisitExtension(Expression) VisitExtension(Expression)

Visits the children of the extension expression.

(Inherited from ExpressionVisitorBase)

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.

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

(Inherited from ProjectionExpressionVisitor)

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)