public void CopyFrom(ProductBase rhs) { ID = rhs.ID; Barcode = rhs.Barcode; Name = rhs.Name; Description = rhs.Description; RetailPrice = rhs.RetailPrice; WholeSalePrice = rhs.WholeSalePrice; }
public ProductBase(ProductBase rhs) { CopyFrom(rhs); }