private GestAcaLibDAL() : base("DBConnectionString") { absenceDAO = new AbscenceDAOImp(this); courseDAO = new CourseDAOImp(this); enrollmentDAO = new EnrollmentDAOImp(this); officeDAO = new OfficeDAOImp(this); personDAO = new PersonDAOImp(this); studentDAO = new StudentDAOImp(this); taughtCourseDAO = new TaughtCourseDAOImp(this); teacherDAO = new TeacherDAOImp(this); }
private GestAcaDAL() : base("DBConnectionString") { officeDAO = new OfficeDAOImp(this); enrollmentDAO = new EnrollmentDAOImp(this); courseDAO = new CourseDAOImp(this); studentDAO = new StudentDAOImp(this); personDAO = new PersonDAOImp(this); absenceDAO = new AbsenceDAOImp(this); teacherDAO = new TeacherDAOImp(this); taughtcourseDAO = new TaughtCourseDAOImp(this); Database.Initialize(true); }