Share via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateUnion Method

Definition

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

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