Partilhar via


QueryableMethodTranslatingExpressionVisitor.TranslateContains Método

Definição

Converte o Contains<TSource>(IQueryable<TSource>, TSource) método sobre a origem fornecida.

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

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

item
Expression

O item a ser procurado.

Retornos

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

Aplica-se a