예제 #1
0
 public UserDomainObject(IUserDAO iuserDAO, IAdminDAO iadminDAO, ITeacherDAO iTeacherDAO, IStudentDAO iStudentDAO)
 {
     _iUserDAO    = iuserDAO;
     _iAdminDAO   = iadminDAO;
     _iTeacherDAO = iTeacherDAO;
     _iStudentDAO = iStudentDAO;
 }
예제 #2
0
 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);
 }
예제 #3
0
 public TeacherServiceImpl(ITeacherDAO teacherDAO)
 {
     _teacherDAO = teacherDAO;
 }