示例#1
0
 public TeachersAssistantUnitOfWork(ICalendarBookingRepositoryMarker calendarBookingRepository,
                                    IClassroomRepositoryMarker classroomRepositoryMarker,
                                    IFreeDocumentRepositoryMarker freeDocumentRepositoryMarker,
                                    IFreeDocumentStudentRepositoryMarker freeDocumentStudentRepositoryMarker,
                                    IFreeVideoRepositoryMarker freeVideoRepositoryMarker,
                                    IFreeVideoStudentRepositoryMarker freeVideoStudentRepositoryMarker,
                                    IPaidDocuemtStudentRepositoryMarker paidDocuemtStudentRepositoryMarker,
                                    IPaidDocumentRepositoryMarker paidDocumentRepositoryMarker,
                                    IPaidVideoRepositoryMarker paidVideoRepositoryMarker,
                                    IPaidVideoStudentRepositoryMarker paidVideoStudentRepositoryMarker,
                                    IStudentRepositoryMarker studentRepositoryMarker,
                                    IStudentTypeRepositoryMarker studentTypeRepositoryMarker,
                                    ISubjectRepositoryMarker subjectRepositoryMarker,
                                    ITeacherRepositoryMarker teacherRepositoryMarker,
                                    IBookingTimeRepositoryMarker bookingTimeRepositoryMarker)
 {
     _calendarBookingRepository     = calendarBookingRepository as CalendarBookingRepository;
     _classroomRepository           = classroomRepositoryMarker as ClassroomRepository;
     _freeDocumentRepository        = freeDocumentRepositoryMarker as FreeDocumentRepository;
     _freeDocumentStudentRepository = freeDocumentStudentRepositoryMarker as FreeDocumentStudentRepository;
     _freeVideoRepository           = freeVideoRepositoryMarker as FreeVideoRepository;
     _freeVideoStudentRepository    = freeVideoStudentRepositoryMarker as FreeVideoStudentRepository;
     _paidDocuemtStudentRepository  = paidDocuemtStudentRepositoryMarker as PaidDocuemtStudentRepository;
     _paidDocumentRepository        = paidDocumentRepositoryMarker as PaidDocumentRepository;
     _paidVideoRepository           = paidVideoRepositoryMarker as PaidVideoRepository;
     _paidVideoStudentRepository    = paidVideoStudentRepositoryMarker as PaidVideoStudentRepository;
     _studentRepository             = studentRepositoryMarker as StudentRepository;
     _studentTypeRepository         = studentTypeRepositoryMarker as StudentTypeRepository;
     _subjectRepository             = subjectRepositoryMarker as SubjectRepository;
     _teacherRepository             = teacherRepositoryMarker as TeacherRepository;
     _bookingTimeRepository         = bookingTimeRepositoryMarker as BookingTimeRepository;
 }
示例#2
0
 public TeachersAssistantUnitOfWork(ICalendarBookingRepositoryMarker calendarBookingRepository,
                                    IClassroomRepositoryMarker classroomRepositoryMarker,
                                    IFreeDocumentRepositoryMarker freeDocumentRepositoryMarker,
                                    IFreeDocumentStudentRepositoryMarker freeDocumentStudentRepositoryMarker,
                                    IFreeVideoRepositoryMarker freeVideoRepositoryMarker,
                                    IFreeVideoStudentRepositoryMarker freeVideoStudentRepositoryMarker,
                                    IPaidDocuemtStudentRepositoryMarker paidDocuemtStudentRepositoryMarker,
                                    IPaidDocumentRepositoryMarker paidDocumentRepositoryMarker,
                                    IPaidVideoRepositoryMarker paidVideoRepositoryMarker,
                                    IPaidVideoStudentRepositoryMarker paidVideoStudentRepositoryMarker,
                                    IStudentRepositoryMarker studentRepositoryMarker,
                                    IStudentTypeRepositoryMarker studentTypeRepositoryMarker,
                                    ISubjectRepositoryMarker subjectRepositoryMarker,
                                    ITeacherRepositoryMarker teacherRepositoryMarker,
                                    IBookingTimeRepositoryMarker bookingTimeRepositoryMarker,
                                    IStudentResourceRepositoryMarker studentResourcesRepositoryMarker,
                                    IQAHelpRequestRepositoryMarker qAHelpRequestRepositoryMarker,
                                    IAssignmentRepositoryMarker assignmentRepositoryMarker,
                                    IAssignmentSubmissionRepositoryMarker assignmentSubmissionRepositoryMarker,
                                    ICourseRepositoryMarker courseRepositoryMarker)
 {
     _calendarBookingRepository      = calendarBookingRepository as CalendarBookingRepository;
     _classroomRepository            = classroomRepositoryMarker as ClassroomRepository;
     _freeDocumentRepository         = freeDocumentRepositoryMarker as FreeDocumentRepository;
     _freeDocumentStudentRepository  = freeDocumentStudentRepositoryMarker as FreeDocumentStudentRepository;
     _freeVideoRepository            = freeVideoRepositoryMarker as FreeVideoRepository;
     _freeVideoStudentRepository     = freeVideoStudentRepositoryMarker as FreeVideoStudentRepository;
     _paidDocuemtStudentRepository   = paidDocuemtStudentRepositoryMarker as PaidDocuemtStudentRepository;
     _paidDocumentRepository         = paidDocumentRepositoryMarker as PaidDocumentRepository;
     _paidVideoRepository            = paidVideoRepositoryMarker as PaidVideoRepository;
     _paidVideoStudentRepository     = paidVideoStudentRepositoryMarker as PaidVideoStudentRepository;
     _studentRepository              = studentRepositoryMarker as StudentRepository;
     _studentTypeRepository          = studentTypeRepositoryMarker as StudentTypeRepository;
     _subjectRepository              = subjectRepositoryMarker as SubjectRepository;
     _teacherRepository              = teacherRepositoryMarker as TeacherRepository;
     _bookingTimeRepository          = bookingTimeRepositoryMarker as BookingTimeRepository;
     _studentResourcesRepository     = studentResourcesRepositoryMarker as StudentResourcesRepository;
     _qAHelpRequestRepository        = qAHelpRequestRepositoryMarker as QAHelpRequestRepository;
     _assignmentRepository           = assignmentRepositoryMarker as AssignmentRepository;
     _assignmentSubmissionRepository = assignmentSubmissionRepositoryMarker as AssignmentSubmissionRepository;
     _courseRepository = courseRepositoryMarker as CourseRepository;
 }