Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public override void Visit(DbUnionStatement union)
 {
     AddAliase(union.Model);
 }
Esempio n. 3
0
 public override void Visit(DbUnionStatement union)
 {
     union.Query1.Accept(this);
     union.Query2.Accept(this);
 }
Esempio n. 4
0
 /// <summary>
 /// Visits the <see cref="DbUnionStatement"/>.
 /// </summary>
 /// <param name="union">The union statement.</param>
 /// <returns>The result.</returns>
 public abstract T Visit(DbUnionStatement union);