示例#1
0
 public void Setup()
 {
     trans    = new TransactionScope();
     venueDAO = new VenueDAO(connectionString);
     spaceDAO = new SpacesDAO(connectionString);
     resDAO   = new ReservationDAO(connectionString);
 }
示例#2
0
 public UserInterface(string connectionString)
 {
     this.connectionString = connectionString;
     venueDAO = new VenueDAO(connectionString);
     spaceDAO = new SpacesDAO(connectionString);
     resDAO   = new ReservationDAO(connectionString);
 }