Compartilhar via


RelationalSqlTranslatingExpressionVisitor.TranslateSum Método

Definição

Sobrecargas

TranslateSum(SqlExpression)
Obsoleto.

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

TranslateSum(Expression)

TranslateSum(SqlExpression)

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

Cuidado

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

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

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

Parâmetros

sqlExpression
SqlExpression

Uma expressão para traduzir Soma.

Retornos

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

Atributos

Aplica-se a

TranslateSum(Expression)

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

Parâmetros

expression
Expression

Retornos

Aplica-se a