public DataSet update_hotel(int i) { HotelCAD c = new HotelCAD(); DataSet ds = c.updateHotel(this, i); return(ds); }
// TO-DO : Figure out how to implement this using disconnected db /* public ArrayList search_hotel() * { * ArrayList a = new ArrayList(); * HotelCAD c = new HotelCAD(); * a = c.searchHotel(this); * return a; * }*/ public DataSet showAllHotels() { HotelCAD c = new HotelCAD(); DataSet ds = c.showHotels(this); return(ds); }
public void add_hotel() { HotelCAD c = new HotelCAD(); c.addHotel(this); }