void IEditableObject.BeginEdit()
        {
            Console.WriteLine("Start BeginEdit");
            if( ! inTxn)
            {
                //this.backupData = receiptData;
                this.backupData = new Receipt() { chart = this.chart, descript = this.descript, amount = this.amount };

                inTxn = true;
                Console.WriteLine("BeginEdit - backupData.descript: " + this.backupData.descript);
            }
            Console.WriteLine("End BeginEdit");
        }
 void IEditableObject.EndEdit()
 {
     Console.WriteLine("Start EndEdit");
     if(inTxn)
     {
         backupData = new Receipt();
         inTxn = false;
         Console.WriteLine("Done EndEdit - this.descript: " + this.descript);
     }
     Console.WriteLine("End EndEdit");
 }
        public bool Equals(Receipt r)
        {
            if(null == r)
            {
                return false;
            }

            return (amount == r.amount)
                && (chart == r.chart)
                && (check == r.check)
                && (cl == r.cl)
                && (comment == r.comment)
                && (credit == r.credit)
                && (cust_id == r.cust_id)
                && (date == r.date)
                && (descript == r.descript)
                && (item == r.item)
                && (tran == r.tran);
        }