Пример #1
0
        internal void CopyValues(IDataReader source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source);
        }
Пример #2
0
        protected override void DataPortal_Update()
        {
            if (IsDirty)
            {
                try
                {
                    PlanExtraRecord obj = Session().Get <PlanExtraRecord>(Oid);

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