Пример #1
0
 public WInventoryService()
 {
     iRepository   = new WInventoryRepository();
     ilRepository  = new WInventoryLineRepository(iRepository.DbCondext);
     locRepository = new BLocationRepository(iRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(iRepository.DbCondext);
     ooRepository  = new WOtherOutRepository(iRepository.DbCondext);
     oolRepository = new WOtherOutLineRepository(iRepository.DbCondext);
     oiRepositroy  = new WOtherInRepository(iRepository.DbCondext);
     oilRepository = new WOtherInLineRepository(iRepository.DbCondext);
 }
Пример #2
0
 public BLocationService()
 {
     lRepository   = new BLocationRepository();
     lurRepository = new BLocationUserRelRepository(lRepository.DbCondext);
 }
Пример #3
0
 public BMaterialGroupService()
 {
     mgRepository   = new BMaterialGroupRepository();
     mglrRepository = new BMaterialGroupLocationRelRepository();
     lRepository    = new BLocationRepository();
 }