RelationalSqlTranslatingExpressionVisitor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |
GenerateGreatest(IReadOnlyList<SqlExpression>, Type) |
Generates a SQL GREATEST expression over the given expressions. |
GenerateLeast(IReadOnlyList<SqlExpression>, Type) |
Generates a SQL GREATEST expression over the given expressions. |
ParameterListValueExtractor<TEntity,TProperty>(QueryContext, String, IProperty) |
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. |
ParameterValueExtractor<T>(QueryContext, String, List<IComplexProperty>, IProperty) |
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. |
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. |
TryBindMember(Expression, MemberIdentity, 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. |
TryTranslateAggregateMethodCall(MethodCallExpression, SqlExpression) |
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. |
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
Entity Framework