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); }
public GoodsOrder(GlobalConfig.DB.FromType fromType) { _goodsOrderDao = new DAL.Implement.Order.GoodsOrder(GlobalConfig.DB.FromType.Write); _goodsOrderDetailDao = OrderInstance.GetGoodsOrderDetailDao(fromType); _invoiceDao = InventoryInstance.GetInvoiceDao(fromType); }