Compartilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateContains Método

Definição

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateContains (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression item);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateContains (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression item);
override this.TranslateContains : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides 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