public override void Copy(BasePledge item) { base.Copy(item); Amount = (item as Deposit).Amount; Account = (item as Deposit).Account; BankName = (item as Deposit).BankName; }
public virtual void Copy(BasePledge item) { Pledger.Copy(item.Pledger); Name = item.Name; Manufacturer = item.Manufacturer; Price = item.Price; Currency = item.Currency; TypeOfPledge = item.TypeOfPledge; }