RelationalSqlTranslatingExpressionVisitor.TranslateLongCount 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TranslateLongCount(SqlExpression) |
已淘汰.
將 LongCount 轉譯為對等的 SQL 標記法。 |
TranslateLongCount(Expression) |
TranslateLongCount(SqlExpression)
警告
Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods
將 LongCount 轉譯為對等的 SQL 標記法。
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
參數
- sqlExpression
- SqlExpression
要轉譯 LongCount 的運算式。
傳回
在指定的運算式上,LongCount 的 SQL 轉譯。
- 屬性
適用於
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
參數
- expression
- Expression