public virtual void CopyValues(SecureItemRecord source) { if (source == null) { return; } Oid = source.Oid; _name = source.Name; _tipo = source.Tipo; _descriptor = source.Descriptor; }
protected override void DataPortal_Update() { if (IsDirty) { try { SecureItemRecord obj = Session().Get <SecureItemRecord>(Oid); obj.CopyValues(this._base.Record); Session().Update(obj); } catch (Exception ex) { throw new iQPersistentException(iQExceptionHandler.GetAllMessages(ex)); } } }