public void CopyValues(KitInfo source) { if (source == null) { return; } _record.CopyValues(source.Base.Record); _product = source.Product; _purchase_price = source.PurchasePrice; }
protected virtual void CopyFrom(KitInfo source) { if (source == null) { return; } Oid = source.Oid; OidKit = source.OidKit; OidProduct = source.OidProduct; Amount = source.Amount; Product = source.Product; PurchasePrice = source.PurchasePrice; }