共用方式為


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateTakeWhile 方法

定義

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

參數

source
ShapedQueryExpression

套用運算子的成形查詢。

predicate
LambdaExpression

呼叫中提供的述詞。

傳回

翻譯後的成形查詢。

適用於