Beispiel #1
0
        protected override bool SaveObject()
        {
            this.Datos.RaiseListChangedEvents = false;

            Tool temp = _entity.Clone();

            temp.ApplyEdit();

            // do the save
            try
            {
                _entity = temp.Save();
                _entity.ApplyEdit();

                return(true);
            }
            catch (Exception ex)
            {
                iQExceptionHandler.TreatException(ex);
                return(false);
            }
            finally
            {
                this.Datos.RaiseListChangedEvents = true;
            }
        }