Beispiel #1
0
 public PurchaseContractFacade(IDBContext dbContext)
 {
     _db      = dbContext;
     _service = new PurchaseContractService(this._db);
     _processHistoryService = new ProcessHistoryService(this._db);
     _supplierService       = new SupplierService(this._db);
 }
Beispiel #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);
 }
Beispiel #3
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);
 }
Beispiel #4
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);
 }
Beispiel #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);
 }
Beispiel #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);
 }