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