Condividi tramite


RelationalSqlTranslatingExpressionVisitor.TranslateAverage Metodo

Definizione

Overload

TranslateAverage(SqlExpression)
Obsoleti.

Converte Average su un'espressione in una rappresentazione SQL equivalente.

TranslateAverage(Expression)

TranslateAverage(SqlExpression)

Origine:
RelationalSqlTranslatingExpressionVisitor.cs
Origine:
RelationalSqlTranslatingExpressionVisitor.cs
Origine:
RelationalSqlTranslatingExpressionVisitor.cs
Origine:
RelationalSqlTranslatingExpressionVisitor.cs

Attenzione

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

Converte Average su un'espressione in una rappresentazione SQL equivalente.

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

Parametri

sqlExpression
SqlExpression

Espressione per la conversione media.

Restituisce

Conversione SQL della media sull'espressione specificata.

Attributi

Si applica a

TranslateAverage(Expression)

Origine:
RelationalSqlTranslatingExpressionVisitor.cs
Origine:
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

Parametri

expression
Expression

Restituisce

Si applica a