Пример #1
0
 public GenericRepositoryInv()
 {
     _db     = new RetailSalesManagementEntities();
     _aTable = _db.Set <T>();
 }
Пример #2
0
 public GenericRepositoryInv(RetailSalesManagementEntities db)
 {
     _db     = db;
     _aTable = _db.Set <T>();
 }