public void TestInitialize()
 {
     TicketDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     ticketDAO.RemoveAllReplica();
     CustomerDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     customerDAO.RemoveAllReplica();
     FlightDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     flightDAO.RemoveAllReplica();
     AirlineDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     airlineDAO.RemoveAllReplica();
     CountryDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     countryDAO.RemoveAllReplica();
     AdministratorDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     administratorDAO.RemoveAllReplica();
 }
Ejemplo n.º 2
0
 public void TestInitialize() //static did not changed for everyone. //assembly initialize didn't work -> signature wrong.
 {
     TicketDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     ticketDAO.RemoveAllReplica();
     CustomerDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     customerDAO.RemoveAllReplica();
     FlightDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     flightDAO.RemoveAllReplica();
     AirlineDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     airlineDAO.RemoveAllReplica();
     CountryDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     countryDAO.RemoveAllReplica();
     AdministratorDAOMSSQL._connectionString = MyConfig._replicaConnectionString;
     administratorDAO.RemoveAllReplica();
 }