Пример #1
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     mydbal            = new Dbal("Escp_Game");
     theDaoAvis        = new DaoAvis(mydbal, theDaoClient, theDaoTheme);
     theDaoClient      = new DaoClient(mydbal);
     theDaoObstacle    = new DaoObstacle(mydbal, theDaoTheme);
     theDaoPObstacle   = new DaoPlacement_Obst(mydbal, theDaoReservation, theDaoObstacle);
     theDaoReservation = new DaoReservation(mydbal, theDaoClient, theDaoSalle, theDaoUtilisateur, theDaoTheme);
     theDaoSalle       = new DaoSalle(mydbal, theDaoVille, theDaoTheme);
     theDaoTheme       = new DaoTheme(mydbal);
     theDaoTransaction = new DaoTransaction(mydbal, theDaoClient, theDaoReservation);
     theDaoUtilisateur = new DaoUtilisateur(mydbal, theDaoVille);
     theDaoVille       = new DaoVille(mydbal);
 }