RelationalQueryableMethodTranslatingExpressionVisitor.TranslateCount Metodo

Definizione

Converte il Count<TSource>(IQueryable<TSource>) metodo e altri overload sull'origine specificata.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateCount (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression predicate);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateCount (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression? predicate);
override this.TranslateCount : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateCount (source As ShapedQueryExpression, predicate As LambdaExpression) As ShapedQueryExpression

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

predicate
LambdaExpression

Predicato fornito nella chiamata.

Restituisce

Query con forma dopo la traduzione.

Si applica a