public void CopyFrom(ProductBase rhs) { ID = rhs.ID; Barcode = rhs.Barcode; Name = rhs.Name; Description = rhs.Description; Unit = rhs.Unit; RetailPrice = rhs.RetailPrice; WholeSalePrice = rhs.WholeSalePrice; ImagePath = rhs.ImagePath; CGST = rhs.CGST; SGST = rhs.SGST; Discount = rhs.Discount; }
public ProductBase(ProductBase rhs) { CopyFrom(rhs); }