Exemple #1
0
        public virtual void CopyValues(PuntoActaRecord source)
        {
            if (source == null)
            {
                return;
            }

            Oid       = source.Oid;
            _oid_acta = source.OidActa;
            _codigo   = source.Codigo;
            _serial   = source.Serial;
            _texto    = source.Texto;
            _numero   = source.Numero;
        }
Exemple #2
0
        internal void Update(ActaComite parent)
        {
            // if we're not dirty then don't update the database
            if (!this.IsDirty)
            {
                return;
            }


            try
            {
                SessionCode = parent.SessionCode;
                PuntoActaRecord obj = Session().Get <PuntoActaRecord>(Oid);
                obj.CopyValues(this.Base.Record);
                Session().Update(obj);
            }
            catch (Exception ex)
            {
                iQExceptionHandler.TreatException(ex);
            }

            MarkOld();
        }