RelationalQueryableMethodTranslatingExpressionVisitor.TranslateLongCount 方法

定义

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

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

参数

source
ShapedQueryExpression

应用运算符的形状查询。

predicate
LambdaExpression

调用中提供的谓词。

返回

转换后的形状查询。

适用于