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