RelationalQueryableMethodTranslatingExpressionVisitor.TranslateAverage(ShapedQueryExpression, LambdaExpression, Type) Método

Definição

Traduz Average(IQueryable<Decimal>) o método e outras sobrecargas sobre a origem especificada.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateAverage (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector, Type resultType);
override this.TranslateAverage : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression * Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateAverage (source As ShapedQueryExpression, selector As LambdaExpression, resultType As Type) As ShapedQueryExpression

Parâmetros

source
ShapedQueryExpression

A consulta moldada na qual o operador é aplicado.

selector
LambdaExpression

O seletor fornecido na chamada.

resultType
Type

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

Retornos

ShapedQueryExpression

A consulta moldada após a tradução.

Aplica-se a