Beispiel #1
0
 public BookCopyRepository(LibraryContext ctx)
 {
     _context = ctx;
 }
Beispiel #2
0
 public UnitOfWorkData(LibraryContext context)
 {
     this.dbContext = context;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="c">A library context</param>
 public BookRepository(LibraryContext c)
 {
     this.context = c;
 }
Beispiel #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">LibraryContext</param>
 public AuthorRepository(LibraryContext context)
 {
     this.Context = context;
 }
 public AuthorRepository(LibraryContext c)
 {
     this.context = c;
 }
Beispiel #6
0
 public LoanRepository(LibraryContext c)
 {
     this.context = c;
 }
Beispiel #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">LibraryContext</param>
 public LoanRepository(LibraryContext context)
 {
     this.Context = context;
 }
 /// <param name="c">A Librarycontext that will be shared among repositories</param>
 public RepositoryFactory(LibraryContext c)
 {
     this.context = c;
 }
 /// <summary>
 /// Constructor takes in a LibraryContext, enabling the repository to create its own Librarycontext.
 /// </summary>
 /// <param name="c"></param>
 public MemberRepository(LibraryContext c)
 {
     this.context = c;
 }
 protected BaseRepository(LibraryContext context)
 {
     _context = context;
 }