Share via


QueryableMethodTranslatingExpressionVisitor.TranslateIntersect Method

Definition

Translates Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>) method over the given source.

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateIntersect (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateIntersect (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
abstract member TranslateIntersect : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateIntersect (source1 As ShapedQueryExpression, source2 As ShapedQueryExpression) As ShapedQueryExpression

Parameters

source1
ShapedQueryExpression

The shaped query on which the operator is applied.

source2
ShapedQueryExpression

The other source to perform intersect with.

Returns

The shaped query after translation.

Applies to