Beispiel #1
0
 public WPurchaseReturnService()
 {
     prRepository  = new WPurchaseReturnRepository();
     prlRepository = new WPurchaseReturnLineRepository(prRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(prRepository.DbCondext);
     pRepository   = new WPurchaseRepository(prlRepository.DbCondext);
     plRepository  = new WPurchaseLineRepository(prlRepository.DbCondext);
 }
Beispiel #2
0
 public WPurchaseService()
 {
     pRepository   = new WPurchaseRepository();
     plRepository  = new WPurchaseLineRepository(pRepository.DbCondext);
     nuRepository  = new SNumberRuleRepository(pRepository.DbCondext);
     pnlRepository = new WPurchaseNoticeLineRepository(plRepository.DbCondext);
     pnRepository  = new WPurchaseNoticeRepository(plRepository.DbCondext);
 }