Compartilhar via


QueryableMethodTranslatingExpressionVisitor.TranslateSum Método

Definição

Converte o Sum(IQueryable<Decimal>) método e outras sobrecargas sobre a fonte fornecida.

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

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

selector
LambdaExpression

O seletor fornecido na chamada.

resultType
Type

O tipo de resultado após a operação.

Retornos

A consulta em forma após a tradução.

Aplica-se a