private void CreateBuySellHistory(BuySellDoc buySellDoc) { BuySellDocHistory buySellDocHistory = BuySellDocHistory.UnBox(BuySellDocHistoryBiz.Factory()); buySellDocHistory.Init(buySellDoc); BuySellDocHistoryBiz.Create(buySellDocHistory); }
public BuySellDocBiz(IRepositry <BuySellDoc> entityDal, BuySellItemBiz buySellItemBiz, BizParameters bizParameters, OwnerBiz ownerBiz, CustomerBiz customerBiz, ShopBiz shopBiz, DeliverymanBiz deliverymanBiz, FreightOfferTrxBiz freightOfferTrxBiz, VehicalTypeBiz vehicalTypeBiz, MessageBiz messageBiz, PeopleMessageBiz peopleMessageBiz, SalesmanBiz salesmanBiz, BuySellDocHistoryBiz buySellDocHistoryBiz) : base(entityDal, bizParameters) { _ownerBiz = ownerBiz; _customerBiz = customerBiz; _shopBiz = shopBiz; _buySellBiz = entityDal as BuySellDocBiz; _buySellItemBiz = buySellItemBiz; _freightOfferTrxBiz = freightOfferTrxBiz; _deliverymanBiz = deliverymanBiz; _vehicalTypeBiz = vehicalTypeBiz; _messageBiz = messageBiz; _peopleMessageBiz = peopleMessageBiz; _salesmanBiz = salesmanBiz; _buySellDocHistoryBiz = buySellDocHistoryBiz; }