Partager via


RelationalSqlTranslatingExpressionVisitor.TranslateAverage Méthode

Définition

Surcharges

TranslateAverage(SqlExpression)
Obsolète.

Traduit Moyenne sur une expression en représentation SQL équivalente.

TranslateAverage(Expression)

TranslateAverage(SqlExpression)

Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs

Attention

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

Traduit Moyenne sur une expression en représentation SQL équivalente.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateAverage (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateAverage (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
[System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? TranslateAverage (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression);
abstract member TranslateAverage : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateAverage : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
[<System.Obsolete("Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods")>]
abstract member TranslateAverage : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateAverage : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateAverage (sqlExpression As SqlExpression) As SqlExpression

Paramètres

sqlExpression
SqlExpression

Expression sur laquelle traduire Average.

Retours

Une traduction SQL de Moyenne sur l’expression donnée.

Attributs

S’applique à

TranslateAverage(Expression)

Source:
RelationalSqlTranslatingExpressionVisitor.cs
Source:
RelationalSqlTranslatingExpressionVisitor.cs
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateAverage (System.Linq.Expressions.Expression expression);
abstract member TranslateAverage : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateAverage : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateAverage (expression As Expression) As SqlExpression

Paramètres

expression
Expression

Retours

S’applique à