public OrderProductRepository(AlchemicShopContext context)
 {
     _dbContext = context;
 }
 public GenericRepository(AlchemicShopContext context)
 {
     _dbContext = context;
     _dbSet     = context.Set <TEntity>();
 }
 public UserRepository(AlchemicShopContext context)
 {
     _dbContext = context;
 }
 public AlchGenUnitOfWork(string connection)
 {
     _dbContext = new AlchemicShopContext(connection);
 }
Beispiel #5
0
 public CategoryRepository(AlchemicShopContext context)
 {
     _dbContext = context;
 }