QueryableMethodTranslatingExpressionVisitor.TranslateLongCount 方法

定义

转换 LongCount<TSource>(IQueryable<TSource>) 给定源上的方法和其他重载。

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateLongCount (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression predicate);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateLongCount (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.LambdaExpression? predicate);
abstract member TranslateLongCount : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateLongCount (source As ShapedQueryExpression, predicate As LambdaExpression) As ShapedQueryExpression

参数

source
ShapedQueryExpression

应用运算符的形状查询。

predicate
LambdaExpression

调用中提供的谓词。

返回

转换后的形状查询。

适用于