Share via


SelectExpression.ApplyUnion(SelectExpression, Boolean) Method

Definition

Applies UNION operation to the SelectExpression.

public void ApplyUnion (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source2, bool distinct);
member this.ApplyUnion : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * bool -> unit
Public Sub ApplyUnion (source2 As SelectExpression, distinct As Boolean)

Parameters

source2
SelectExpression

A SelectExpression to perform the operation.

distinct
Boolean

A bool value indicating if resulting table source should remove duplicates.

Applies to