Esempio n. 1
0
        internal void CopyValues(IDataReader source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source);
        }
Esempio n. 2
0
 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));
         }
     }
 }