Partilhar via


RelationalSqlTranslatingExpressionVisitor.TranslateMax Método

Definição

Sobrecargas

TranslateMax(SqlExpression)
Obsoleto.

Converte Max em uma expressão para uma representação SQL equivalente.

TranslateMax(Expression)

TranslateMax(SqlExpression)

Origem:
RelationalSqlTranslatingExpressionVisitor.cs
Origem:
RelationalSqlTranslatingExpressionVisitor.cs
Origem:
RelationalSqlTranslatingExpressionVisitor.cs
Origem:
RelationalSqlTranslatingExpressionVisitor.cs

Cuidado

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

Converte Max em uma expressão para uma representação SQL equivalente.

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

Parâmetros

sqlExpression
SqlExpression

Uma expressão para traduzir Max.

Retornos

Uma tradução SQL de Max sobre a expressão fornecida.

Atributos

Aplica-se a

TranslateMax(Expression)

Origem:
RelationalSqlTranslatingExpressionVisitor.cs
Origem:
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

Parâmetros

expression
Expression

Retornos

Aplica-se a