Пример #1
0
 public BookRepository(ThriftBooksContext context) : base(context)
 {
 }
Пример #2
0
 public UserRepository(ThriftBooksContext context, IBookRepository bookRepository) : base(context)
 {
     _bookRepository = bookRepository;
 }
Пример #3
0
 public BaseRepository(ThriftBooksContext context)
 {
     Context = context;
     DbSet   = context.Set <T>();
 }