다음을 통해 공유


RelationalSqlTranslatingExpressionVisitor.TranslateCount 메서드

정의

오버로드

TranslateCount(SqlExpression)
사용되지 않음.

식의 개수를 해당하는 SQL 표현으로 변환합니다.

TranslateCount(Expression)

TranslateCount(SqlExpression)

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

주의

Use IAggregateMethodCallTranslatorProvider to add translation for aggregate methods

식의 개수를 해당하는 SQL 표현으로 변환합니다.

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

매개 변수

sqlExpression
SqlExpression

Count over를 변환하는 식입니다.

반환

지정된 식에 대한 Count의 SQL 번역입니다.

특성

적용 대상

TranslateCount(Expression)

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

매개 변수

expression
Expression

반환

적용 대상