Condividi tramite


QueryableMethodTranslatingExpressionVisitor.TranslateContains Metodo

Definizione

Converte il Contains<TSource>(IQueryable<TSource>, TSource) metodo sull'origine specificata.

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

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

item
Expression

Elemento da cercare.

Restituisce

Query con forma dopo la traduzione.

Si applica a