RelationalSqlTranslatingExpressionVisitor.TranslateSum Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
TranslateSum(Expression) | |
TranslateSum(SqlExpression) |
Obsoleti.
Converte Sum su un'espressione in una rappresentazione SQL equivalente. |
TranslateSum(Expression)
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
Parametri
- expression
- Expression
Restituisce
Si applica a
TranslateSum(SqlExpression)
Attenzione
Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods
Converte Sum su un'espressione in una rappresentazione 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
Parametri
- sqlExpression
- SqlExpression
Espressione in cui tradurre Sum.
Restituisce
Conversione SQL di Sum sull'espressione specificata.
- Attributi