SqlTranslatingExpressionVisitor Class

Definition

The default relational LINQ translating expression visitor.

public class SqlTranslatingExpressionVisitor : Remotion.Linq.Parsing.ThrowingExpressionVisitor
type SqlTranslatingExpressionVisitor = class
    inherit ThrowingExpressionVisitor
Public Class SqlTranslatingExpressionVisitor
Inherits ThrowingExpressionVisitor
Inheritance
Remotion.Linq.Parsing.ThrowingExpressionVisitor
SqlTranslatingExpressionVisitor

Constructors

SqlTranslatingExpressionVisitor(IRelationalAnnotationProvider, IExpressionFragmentTranslator, IMethodCallTranslator, IMemberTranslator, IRelationalTypeMapper, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean, Boolean)

Creates a new instance of SqlTranslatingExpressionVisitor.

SqlTranslatingExpressionVisitor(SqlTranslatingExpressionVisitorDependencies, RelationalQueryModelVisitor, SelectExpression, Expression, Boolean)

Creates a new instance of SqlTranslatingExpressionVisitor.

Properties

ClientEvalPredicate

When translating a predicate expression, returns a client expression corresponding to the part of the target expression that should be evaluated locally.

Methods

CreateUnhandledItemException<T>(T, String)

Creates an unhandled item exception.

Visit(Expression)

Visits the given expression.

VisitBinary(BinaryExpression)

Visit a binary expression.

VisitConditional(ConditionalExpression)

Visits a conditional expression.

VisitConstant(ConstantExpression)

Visits a constant expression.

VisitExtension(Expression)

Visits an extension expression.

VisitMember(MemberExpression)

Visit a member expression.

VisitMethodCall(MethodCallExpression)

Visits a method call expression.

VisitNew(NewExpression)

Visits a new expression.

VisitParameter(ParameterExpression)

Visits a parameter expression.

VisitQuerySourceReference(QuerySourceReferenceExpression)

Visits a query source reference expression.

VisitSubQuery(SubQueryExpression)

Visits a sub-query expression.

VisitUnary(UnaryExpression)

Visit a unary expression.

VisitUnhandledItem<TItem,TResult>(TItem, String, Func<TItem,TResult>)

Called when an unhandled item is visited. This method provides the item the visitor cannot handle (unhandledItem), the visitMethod that is not implemented in the visitor, and a delegate that can be used to invoke the baseBehavior of the Remotion.Linq.Parsing.RelinqExpressionVisitor class. The default behavior of this method is to call the Remotion.Linq.Parsing.ThrowingExpressionVisitor.CreateUnhandledItemException``1(``0,System.String) method, but it can be overridden to do something else.

Applies to