Compartilhar via


RelationalSqlTranslatingExpressionVisitor.TranslateLongCount Método

Definição

Sobrecargas

TranslateLongCount(SqlExpression)
Obsoleto.

Converte LongCount em uma expressão para uma representação SQL equivalente.

TranslateLongCount(Expression)

TranslateLongCount(SqlExpression)

Cuidado

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

Converte LongCount em uma expressão para uma representação SQL equivalente.

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

Parâmetros

sqlExpression
SqlExpression

Uma expressão para traduzir LongCount.

Retornos

Uma tradução SQL de LongCount sobre a expressão fornecida.

Atributos

Aplica-se a

TranslateLongCount(Expression)

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

Parâmetros

expression
Expression

Retornos

Aplica-se a