Exemplo n.º 1
0
 public unitOfWork(KEY_TeamMVCEntities db)
 {
     _dbContext         = db;
     _userRepo          = new userRepo(_dbContext);
     _categoryRepo      = new categoryRepo(_dbContext);
     _subcategoryRepo   = new subcategoryRepo(_dbContext);
     _productRepo       = new productRepo(_dbContext);
     _descriptionRepo   = new descriptionRepo(_dbContext);
     _productTypeRepo   = new productTypeRepo(_dbContext);
     _technicalSpecRepo = new technicalSpecRepo(_dbContext);
     _tsFilterRepo      = new tsFilterRepo(_dbContext);
 }
Exemplo n.º 2
0
 public productTypeRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }
Exemplo n.º 3
0
 public technicalSpecRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }
Exemplo n.º 4
0
 public tsFilterRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }
Exemplo n.º 5
0
 public subcategoryRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }
Exemplo n.º 6
0
 public userRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }
Exemplo n.º 7
0
 public descriptionRepo(KEY_TeamMVCEntities db)
     : base(db)
 {
 }