Aracılığıyla paylaş


QueryableMethodTranslatingExpressionVisitor.TranslateWhere Yöntem

Tanım

Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) Yöntemi verilen kaynak üzerinden çevirir.

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

Parametreler

source
ShapedQueryExpression

İşlecin uygulandığı şekilli sorgu.

predicate
LambdaExpression

Çağrıda sağlanan koşul.

Döndürülenler

Çeviriden sonra şekillendirilmiş sorgu.

Şunlara uygulanır