public CardRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _cardRepository = new Repository <tbl_Card, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Card>(); }
public ProductRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _productRepository = new Repository <tbl_Product, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Product>(); }
public EmployeeRepository(Tvita_TestEntities dbContext) : base(dbContext) { _dbContext = dbContext; _employeeRepository = new Repository <tbl_Emoloyee, int>(_dbContext); this._dbSet = _dbContext.Set <tbl_Emoloyee>(); }
public UnitOfWork() { _context = new Tvita_TestEntities(); }
public DbUtility(Tvita_TestEntities dbContext) { this._dbContext = dbContext; }