public OrderMSSQLRepository(ReaderRepository readerRepository, BookRepository bookRepository, LibraryDepartmentRepository libraryDepartmentRepository, LibrarianRepository librarianRepository, LibraryDataContext context) { this.readerRepository = readerRepository; this.bookRepository = bookRepository; this.libraryDepartmentRepository = libraryDepartmentRepository; this.librarianRepository = librarianRepository; this.context = context; }
public BookMSSQLRepository(LibraryDepartmentRepository libraryDepartmentRepository, LibraryDataContext context) { this.libraryDepartmentRepository = libraryDepartmentRepository; this.context = context; }
public LibrarianRepository CreateLibrarianRepository(LibraryDepartmentRepository libraryDepartmentRepository) { return(new LibrarianMSSQLRepository(libraryDepartmentRepository, context)); }
public OrderRepository CreateOrderRepository(ReaderRepository readerRepository, BookRepository bookRepository, LibraryDepartmentRepository libraryDepartmentRepository, LibrarianRepository librarianRepository) { return(new OrderMSSQLRepository(readerRepository, bookRepository, libraryDepartmentRepository, librarianRepository, context)); }
public BookRepository CreateBookRepository(LibraryDepartmentRepository libraryDepartmentRepository) { return(new BookMSSQLRepository(libraryDepartmentRepository, context)); }