示例#1
0
 public AdjustContractPriceFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new AdjustContractPriceService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _contractService       = new PurchaseContractService(this._db);
 }
示例#2
0
 public ProductFacade(IDBContext dbContext)
 {
     _db                     = dbContext;
     _productService         = new ProductService(this._db);
     _adjustSalePriceService = new AdjustSalePriceService(this._db);
     _processHistoryService  = new ProcessHistoryService(this._db);
     _sequenceService        = new BillSequenceService(this._db);
 }
示例#3
0
 public TransferOrderFacade(IDBContext dbContext)
 {
     _db                    = dbContext;
     _service               = new TransferOrderService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _inventoryService      = new StoreInventoryService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
 }
示例#4
0
 public StocktakingPlanFacade(IDBContext dbContext)
 {
     _db                 = dbContext;
     _service            = new StocktakingPlanService(_db);
     _billService        = new BillSequenceService(_db);
     _inventoryService   = new StoreInventoryService(_db);
     _stocktakingService = new StocktakingService(_db);
 }
示例#5
0
 public StorePurchaseOrderFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new StorePurchaseOrderService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _storeInventoryService = new StoreInventoryService(this._db);
     _storeBatchService     = new StoreInventoryBatchService(this._db);
 }
示例#6
0
 public AdjustStorePriceFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new AdjustStorePriceService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _sequenceService       = new BillSequenceService(this._db);
     _productService        = new ProductService(this._db);
     _storeInventoryService = new StoreInventoryService(this._db);
 }
示例#7
0
 public StocktakingFacade(IDBContext dbContext)
 {
     _db                 = dbContext;
     _billService        = new BillSequenceService(_db);
     _stocktakingService = new StocktakingService(_db);
 }