Esempio n. 1
0
 public void Invitado_Beneficiario(ref Cls_Ingreso_DAL Obj_Ingreso_DAL)
 {
     try
     {
         // Se instancia el Objeto de CatalogosMantenimientosClient (WCF)
         CatalogosMantenimientosClient Obj_Ingresos_Client = new CatalogosMantenimientosClient();
         // Se cargan trae el DataTable y se carga al Obj_Estado_DAL
         string sMsjError = string.Empty;
         Obj_Ingreso_DAL.DI.Tables.Add(Obj_Ingresos_Client.Invitado_Beneficiario(Obj_Ingreso_DAL.sIdPersona, ref sMsjError));
         Obj_Ingresos_Client.Close();
         Obj_Ingreso_DAL.sMsj_error = sMsjError;
     }
     catch (Exception ex)
     {
         Obj_Ingreso_DAL.sMsj_error = ex.Message.ToString();
     }
 }