Partilhar via


QuerySqlGenerator.VisitUnion(UnionExpression) Method

Definition

Generates SQL for a UNION set operation.

protected override System.Linq.Expressions.Expression VisitUnion (Microsoft.EntityFrameworkCore.Query.SqlExpressions.UnionExpression unionExpression);
override this.VisitUnion : Microsoft.EntityFrameworkCore.Query.SqlExpressions.UnionExpression -> System.Linq.Expressions.Expression
Protected Overrides Function VisitUnion (unionExpression As UnionExpression) As Expression

Parameters

unionExpression
UnionExpression

The UnionExpression for which to generate SQL.

Returns

The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.

Applies to