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()

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)

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)

VisitSubQuery(SubQueryExpression) VisitSubQuery(SubQueryExpression)

Properties

QueryModelVisitor QueryModelVisitor

Fields

GetParameterValueMethodInfo GetParameterValueMethodInfo