Example #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);
 }
Example #2
0
 public WOtherOutService()
 {
     ooRepository  = new WOtherOutRepository();
     oolRepository = new WOtherOutLineRepository(ooRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(ooRepository.DbCondext);
 }