Exemple #1
0
        private void Fill(out Ingresos oObj, NullableDataReader dr)
        {
            AuxiliaresDatos oAuxDao = new AuxiliaresDatos();

            oObj = new Ingresos(dr.GetNullableByte("idTipoIngreso") == null ? null : oAuxDao.Traer_TipoIngreso(dr.GetByte("idTipoIngreso")),
                                dr.GetNullableDateTime("fechaIngreso"),
                                this.TraeIngresadosXFechaMovimiento(dr.GetInt64("id_Beneficiario"), dr.GetInt16("codPrestacion"), dr.GetDateTime("fechaIngreso")),
                                dr.GetNullableString("observacion") == null ? "" : dr.GetString("observacion")
                                );
        }
Exemple #2
0
        public List <TipoDocumentacion_Prestacion> TraeTodoTipoDocumentacionPrestacion()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeTodoTipoDocumentacionPrestacion());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #3
0
        public List <SubTipoApoderado> TraeSubTipoApoderado()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeSubTiposApoderado());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #4
0
        public List <Sector> TraeSectores()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeSectores());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #5
0
        public List <TipoDocumento> Traer_TipoDocumento(bool soloFrecuentes)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.Traer_TipoDocumento(soloFrecuentes));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #6
0
        public List <Localidad> TraeLocalidadesXProvincia(Int16 codProvincia)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeLocalidadesXProvincia(codProvincia));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #7
0
        public List <Pais2> TraePaises2()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraePaises2());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #8
0
        public List <Tramitesderivados> TraeTramitesDerivados()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeTrDerivado());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #9
0
        public List <TipoIngreso> Traer_TipoIngreso()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.Traer_TipoIngreso());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #10
0
        public List <Ciudad> TraeCiudadesExtXPais(string codPais3c)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeCiudadesExtXPais(codPais3c));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #11
0
        public List <TiposTramiteConvenios> TraerTiposTramiteConvenios(Int16 codPais, Int16 codPrestacion)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeTiposTramiteConvenios(codPais, codPrestacion));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #12
0
        public List <Prestacion> TraerPrestaciones()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraePrestaciones());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #13
0
        public List <MotivoDenegacion> TraeMotivosDenegacion()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeMotivosDenegacion());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #14
0
        public List <Provincia> TraeProvincias()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeProvincias());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #15
0
        public List <Estado> TraeEstados()
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            try
            {
                return(objdao.TraeEstados());
            }

            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #16
0
        public void BajaTipodeDocumentacion_Prestacion(Int32 codTipoDocumentacion, Int32 codPrestacion)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            //LogAplicaciones logging = new LogAplicaciones();

            try
            {
                objdao.BajaTipodeDocumentacion_Prestacion(codTipoDocumentacion, codPrestacion);
                //logging.Log(new OnlineLog
                //{
                //    ClavePrincipal = codTipoDocumentacion.ToString() + codPrestacion.ToString(),
                //    Datos = codTipoDocumentacion.ToString() + codPrestacion.ToString(),
                //    Tabla = "BajaTipodeDocumentacion_Prestacion",
                //    TipoAccion = TipoAction.ACTUALIZAR
                //});
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #17
0
        public void AMTiposdeDocumentacion(Int32?codTipoDocumentacion, string descripcion)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            //LogAplicaciones logging = new LogAplicaciones();

            try
            {
                objdao.AMTipodeDocumentacion(codTipoDocumentacion, descripcion);
                //logging.Log(new OnlineLog
                //{
                //    ClavePrincipal = codTipoDocumentacion.ToString(),
                //    Datos = descripcion,
                //    Tabla = "TiposdeDocumentacion",
                //    TipoAccion = TipoAction.AGREGAR
                //});
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #18
0
        public void AMTipodeDocumentacion_Prestacion(Int32 codTipoDocumentacion, Int16 codPrestacion, string comentario, bool requeridoinicioTramite)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            //LogAplicaciones logging = new //LogAplicaciones();

            try
            {
                objdao.AMTipodeDocumentacion_Prestacion(codTipoDocumentacion, codPrestacion, comentario, requeridoinicioTramite);

                //logging.Log(new OnlineLog
                //{
                //    ClavePrincipal = codTipoDocumentacion.ToString() + codPrestacion.ToString(),
                //    Datos = comentario + requeridoinicioTramite.ToString(),
                //    Tabla = "TipodeDocumentacion_Prestacion",
                //    TipoAccion = TipoAction.AGREGAR
                //});
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemple #19
0
        public List <TipoDocumentacion> TraeTipoDocumentacionXPrestacion(Int16 codPrestacion)
        {
            AuxiliaresDatos objdao = new AuxiliaresDatos();

            return(objdao.TraeTipoDocumentacionXPrestacion(codPrestacion));
        }