RelationalQueryableMethodTranslatingExpressionVisitor.TranslateAverage Yöntem

Tanım

Average(IQueryable<Decimal>) Yöntemi ve diğer aşırı yüklemeleri verilen kaynak üzerinden çevirir.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateAverage (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression selector, Type resultType);
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

Parametreler

source
ShapedQueryExpression

İşlecin uygulandığı şekilli sorgu.

selector
LambdaExpression

Çağrıda sağlanan seçici.

resultType
Type

İşlemden sonraki sonuç türü.

Döndürülenler

Çeviriden sonra şekillendirilmiş sorgu.

Şunlara uygulanır