QueryableMethodTranslatingExpressionVisitor.TranslateSum Metodo

Definizione

Converte il Sum(IQueryable<Decimal>) metodo e altri overload sull'origine specificata.

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateSum (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector, Type resultType);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateSum (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression? selector, Type resultType);
abstract member TranslateSum : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateSum (source As ShapedQueryExpression, selector As LambdaExpression, resultType As Type) As ShapedQueryExpression

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

selector
LambdaExpression

Selettore fornito nella chiamata.

resultType
Type

Tipo di risultato dopo l'operazione.

Restituisce

Query con forma dopo la traduzione.

Si applica a