Esempio n. 1
0
 public ReckoningManager(Environment.GlobalConfig.DB.FromType fromType)
 {
     _companyCussent    = new CompanyCussent(fromType);
     _reckoningDao      = InventoryInstance.GetReckoningDao(fromType);
     _goodsOrderDeliver = new GoodsOrderDeliver(fromType);
     _goodsOrder        = new DAL.Implement.Order.GoodsOrder(fromType);
     _goodsOrderDetail  = new GoodsOrderDetail(fromType);
     _codeManager       = new CodeManager();
     _storageRecordDao  = new StorageRecordDao(fromType);
 }
Esempio n. 2
0
 public ReckoningManager(IReckoning reckoning, ICompanyCussent companyCussent,
                         IGoodsOrder goodsOrder, IGoodsOrderDetail goodsOrderDetail, IGoodsOrderDeliver goodsOrderDeliver,
                         ICode code)
 {
     _reckoningDao      = reckoning;
     _companyCussent    = companyCussent;
     _goodsOrder        = goodsOrder;
     _goodsOrderDetail  = goodsOrderDetail;
     _goodsOrderDeliver = goodsOrderDeliver;
     _codeManager       = new CodeManager(code);
 }
Esempio n. 3
0
 public OrderManager(GlobalConfig.DB.FromType fromType = GlobalConfig.DB.FromType.Write)
 {
     _operationLogManager       = new OperationLogManager();
     _goodsOrderDal             = new DAL.Implement.Order.GoodsOrder(fromType);
     _goodsOrderDetail          = OrderInstance.GetGoodsOrderDetailDao(fromType);
     _goodsCenterSao            = new GoodsCenterSao();
     _promotionSao              = new PromotionSao();
     _reckoning                 = new Reckoning(fromType);
     _asynStorageRecordDao      = new ASYNStorageRecordDao(fromType);
     _goodsStockSettleRecordBll = new GoodsStockRecordDao();
     _invoice = new Invoice(fromType);
     _realTimeGrossSettlementDal = new RealTimeGrossSettlementDal(fromType);
 }
Esempio n. 4
0
 public GoodsOrder(GlobalConfig.DB.FromType fromType)
 {
     _goodsOrderDao       = new DAL.Implement.Order.GoodsOrder(GlobalConfig.DB.FromType.Write);
     _goodsOrderDetailDao = OrderInstance.GetGoodsOrderDetailDao(fromType);
     _invoiceDao          = InventoryInstance.GetInvoiceDao(fromType);
 }