Share via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateIntersect Method

Definition

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateIntersect (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateIntersect (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
override this.TranslateIntersect : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides 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