public void EditPurchaseOrderDetail(Code productCode , Name productName , decimal qty , decimal cost , decimal discountValue , decimal taxpercent , PurchaseOrderHeader purchaseOrderHeader) { ProductCode = productCode; Description = productName; DiscountValue = discountValue; Qty = qty; Cost = cost; TaxPercent = taxpercent; PurchaseOrderHeader = purchaseOrderHeader; }
public void Deconstruct(out Code dproductCode , out Name dproductName , out decimal dqty , out decimal dcost , out decimal dtaxpercent , out decimal ddiscountValue , out PurchaseOrderHeader dpurchaseOrderHeader) { dproductCode = ProductCode; dproductName = Description; ddiscountValue = DiscountValue; dqty = Qty; dcost = Cost; dtaxpercent = TaxPercent; dpurchaseOrderHeader = PurchaseOrderHeader; }