public OrderRepository(CRUDOperationDbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
 public CustomerRepository(DbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
 public ProductRepository(DbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
 public CategoryRepository()
 {
     _db = new CRUDOperationDbContext();
 }
 public CustomerRepository()
 {
     _db = new CRUDOperationDbContext();
 }
 public StockRepository(DbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
 public CategoryRepository(DbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
 public VariantRepository(CRUDOperationDbContext dbContext) : base(dbContext)
 {
     _db = dbContext as CRUDOperationDbContext;
 }
Exemple #9
0
 public ProductRepository()
 {
     _db = new CRUDOperationDbContext();
 }