共用方式為


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateAny 方法

定義

Any<TSource>(IQueryable<TSource>)在指定的來源上轉譯方法和其他多載。

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

參數

source
ShapedQueryExpression

套用運算子的成形查詢。

predicate
LambdaExpression

呼叫中提供的述詞。

傳回

翻譯後的成形查詢。

適用於