Share via


RelationalSqlTranslatingExpressionVisitor.TranslateMax Method

Definition

Overloads

TranslateMax(SqlExpression)
Obsolete.

Translates Max over an expression to an equivalent SQL representation.

TranslateMax(Expression)

TranslateMax(SqlExpression)

Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs

Caution

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

Translates Max over an expression to an equivalent SQL representation.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateMax (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateMax (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
[System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateMax (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
abstract member TranslateMax : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMax : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
[<System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")>]
abstract member TranslateMax : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMax : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateMax (sqlExpression As SqlExpression) As SqlExpression

Parameters

sqlExpression
SqlExpression

An expression to translate Max over.

Returns

A SQL translation of Max over the given expression.

Attributes

Applies to

TranslateMax(Expression)

Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateMax (System.Linq.Expressions.Expression expression);
abstract member TranslateMax : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateMax : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateMax (expression As Expression) As SqlExpression

Parameters

expression
Expression

Returns

Applies to