Exemple #1
0
        public void CopyValues(KitInfo source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);

            _product        = source.Product;
            _purchase_price = source.PurchasePrice;
        }
Exemple #2
0
        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;
        }