예제 #1
0
파일: MyWC.cs 프로젝트: vlung/Citicenter
 public bool AddRooms(Transaction context, String location, int numRooms,
                      int price)
 {
     return(Rooms.Add(context, RID.forRoom(location), numRooms, price));
 }
예제 #2
0
파일: MyWC.cs 프로젝트: vlung/Citicenter
 public bool AddCars(Transaction context, String location, int numCars,
                     int price)
 {
     return(Cars.Add(context, RID.forCar(location), numCars, price));
 }
예제 #3
0
파일: MyWC.cs 프로젝트: vlung/Citicenter
 /*************** Client interface methods **************************/
 public bool AddSeats(Transaction context, String flight, int flightSeats,
                      int flightPrice)
 {
     return(Flights.Add(context, RID.forFlight(flight), flightSeats, flightPrice));
 }