QueryableMethodTranslatingExpressionVisitor.TranslateWhere Método

Definição

Converte o Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) método sobre a origem fornecida.

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

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

predicate
LambdaExpression

O predicado fornecido na chamada.

Retornos

A consulta em forma após a tradução.

Aplica-se a