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); }
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); }