Share via


RelationalSqlTranslatingExpressionVisitor Class

Definition

A class that translates expressions to corresponding SQL representation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class RelationalSqlTranslatingExpressionVisitor : System.Linq.Expressions.ExpressionVisitor
type RelationalSqlTranslatingExpressionVisitor = class
    inherit ExpressionVisitor
Public Class RelationalSqlTranslatingExpressionVisitor
Inherits ExpressionVisitor
Inheritance
RelationalSqlTranslatingExpressionVisitor

Constructors

RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, IModel, QueryableMethodTranslatingExpressionVisitor)
RelationalSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

Creates a new instance of the RelationalSqlTranslatingExpressionVisitor class.

Properties

Dependencies

Relational provider-specific dependencies for this service.

TranslationErrorDetails

Detailed information about errors encountered during translation.

Methods

AddTranslationErrorDetails(String)

Adds detailed information about error encountered during translation.

Translate(Expression, Boolean)

Translates an expression to an equivalent SQL representation.

Translate(Expression)

Translates an expression to an equivalent SQL representation.

TranslateAverage(Expression)
TranslateAverage(SqlExpression)
Obsolete.

Translates Average over an expression to an equivalent SQL representation.

TranslateCount(Expression)
TranslateCount(SqlExpression)
Obsolete.

Translates Count over an expression to an equivalent SQL representation.

TranslateLongCount(Expression)
TranslateLongCount(SqlExpression)
Obsolete.

Translates LongCount over an expression to an equivalent SQL representation.

TranslateMax(Expression)
TranslateMax(SqlExpression)
Obsolete.

Translates Max over an expression to an equivalent SQL representation.

TranslateMin(Expression)
TranslateMin(SqlExpression)
Obsolete.

Translates Min over an expression to an equivalent SQL representation.

TranslateProjection(Expression, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

TranslateSum(Expression)
TranslateSum(SqlExpression)
Obsolete.

Translates Sum over an expression to an equivalent SQL representation.

TryTranslatePropertyAccess(Expression, Expression, IPropertyBase)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

VisitBinary(BinaryExpression)

Visits the children of the BinaryExpression.

VisitConditional(ConditionalExpression)

Visits the children of the ConditionalExpression.

VisitConstant(ConstantExpression)

Visits the ConstantExpression.

VisitExtension(Expression)

Visits the children of the extension expression.

VisitInvocation(InvocationExpression)

Visits the children of the InvocationExpression.

VisitLambda<T>(Expression<T>)

Visits the children of the Expression<TDelegate>.

VisitListInit(ListInitExpression)

Visits the children of the ListInitExpression.

VisitMember(MemberExpression)

Visits the children of the MemberExpression.

VisitMemberInit(MemberInitExpression)

Visits the children of the MemberInitExpression.

VisitMethodCall(MethodCallExpression)

Visits the children of the MethodCallExpression.

VisitNew(NewExpression)

Visits the children of the NewExpression.

VisitNewArray(NewArrayExpression)

Visits the children of the NewArrayExpression.

VisitParameter(ParameterExpression)

Visits the ParameterExpression.

VisitTypeBinary(TypeBinaryExpression)

Visits the children of the TypeBinaryExpression.

VisitUnary(UnaryExpression)

Visits the children of the UnaryExpression.

Applies to