Share via


QueryableMethodTranslatingExpressionVisitor.TranslateUnion Method

Definition

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

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateUnion (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateUnion (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source1, Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source2);
abstract member TranslateUnion : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateUnion (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 union with.

Returns

The shaped query after translation.

Applies to