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