public SQLUnion(SQLSelect objSelect1, SQLUnion.Type eType, SQLSelect objSelect2) { Add(objSelect1); AddUnionType(eType); Add(objSelect2); }
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); }