Ejemplo n.º 1
0
 protected virtual void Visit <TResult>(UnionAllStatement <TResult> statement)
 {
     Visit(statement.Left);
     WriteLine();
     WriteIndentation();
     Write("UNION ALL");
     WriteLine();
     Visit(statement.Right);
     WriteLine();
 }
Ejemplo n.º 2
0
        public UnionStatement UnionAll(params StatementBase[] statments)
        {
            UnionAllStatement result = null;

            foreach (var statment in statments)
            {
                if (result == null)
                {
                    result = new UnionAllStatement(this, statment);
                }
                else
                {
                    result.UnionAll(statment);
                }
            }
            return(result);
        }