public override void Visit(DbUnionStatement unionStatement) { VisitingQueryStatement(); _countUnionStatement++; unionStatement.Query1.Accept(this); SqlBuilder.AppendLine(); SqlBuilder.AppendLine(unionStatement.Kind == DbUnionKind.Union ? "UNION" : "UNION ALL"); unionStatement.Query2.Accept(this); _countUnionStatement--; VisitedQueryStatement(unionStatement); }
public override void Visit(DbUnionStatement union) { AddAliase(union.Model); }
public override void Visit(DbUnionStatement union) { union.Query1.Accept(this); union.Query2.Accept(this); }
/// <summary> /// Visits the <see cref="DbUnionStatement"/>. /// </summary> /// <param name="union">The union statement.</param> /// <returns>The result.</returns> public abstract T Visit(DbUnionStatement union);