public BooksAndAuthorRepository(MagazineContext context) : base(context) { _context = context; _entities = context.Set <BooksAndAuthor>(); }
public EFGenericRepository(MagazineContext context) { _context = context; _dbSet = context.Set <TEntity>(); }
public OrderRepository(MagazineContext context) : base(context) { _entities = context.Set <Order>(); }
public BookRepository(MagazineContext context) : base(context) { _entities = context.Set <Book>(); }
public Repository(MagazineContext context) { _context = context; _entities = context.Set <T>(); }