예제 #1
0
 public BookCopyRepository(LibraryContext ctx)
 {
     _context = ctx;
 }
예제 #2
0
 public UnitOfWorkData(LibraryContext context)
 {
     this.dbContext = context;
 }
예제 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="c">A library context</param>
 public BookRepository(LibraryContext c)
 {
     this.context = c;
 }
예제 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">LibraryContext</param>
 public AuthorRepository(LibraryContext context)
 {
     this.Context = context;
 }
예제 #5
0
 public AuthorRepository(LibraryContext c)
 {
     this.context = c;
 }
예제 #6
0
 public LoanRepository(LibraryContext c)
 {
     this.context = c;
 }
예제 #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">LibraryContext</param>
 public LoanRepository(LibraryContext context)
 {
     this.Context = context;
 }
예제 #8
0
 /// <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;
 }
예제 #10
0
 protected BaseRepository(LibraryContext context)
 {
     _context = context;
 }