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