RelationalSqlTranslatingExpressionVisitor.TranslateCount Metodo

Definizione

Overload

TranslateCount(Expression)
TranslateCount(SqlExpression)
Obsoleti.

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

TranslateCount(Expression)

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression TranslateCount (System.Linq.Expressions.Expression expression = default);
abstract member TranslateCount : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.TranslateCount : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function TranslateCount (Optional expression As Expression = Nothing) As SqlExpression

Parametri

expression
Expression

Restituisce

Si applica a

TranslateCount(SqlExpression)

Attenzione

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

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

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

Parametri

sqlExpression
SqlExpression

Espressione per convertire Count over.

Restituisce

Conversione SQL di Count sull'espressione specificata.

Attributi

Si applica a