Example #1
0
        internal void CopyValues(IDataReader source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source);
        }
Example #2
0
        protected override void DataPortal_Update()
        {
            if (IsDirty)
            {
                try
                {
                    ModuloRecord obj = Session().Get <ModuloRecord>(Oid);

                    UpdateNumeroOrden();
                    obj.CopyValues(this.Base.Record);
                    Session().Update(obj);
                }
                catch (Exception ex)
                {
                    iQExceptionHandler.TreatException(ex);
                }
            }
        }