Exemplo n.º 1
0
 public SQLUnion(SQLSelect objSelect1, SQLUnion.Type eType, SQLSelect objSelect2)
 {
     Add(objSelect1);
     AddUnionType(eType);
     Add(objSelect2);
 }
Exemplo n.º 2
0
        public void AddUnionType(SQLUnion.Type eType)
        {
            if (pobjUnionType.Count + 1 > pobjSelectStatements.Count)
                throw new Exceptions.DatabaseObjectsException("First call the Add function - this function has been called without a prior call to Add");

            pobjUnionType.Add(eType);
        }