RelationalQueryableMethodTranslatingExpressionVisitor.TranslateSum Metodo

Definizione

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateSum (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector, Type resultType);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateSum (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression? selector, Type resultType);
override this.TranslateSum : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides 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