コード例 #1
0
 public List<uspMallaEncuesta_ListarXCarreraXPeriodoXPPPXEstadoResult> mallaEncuestaListarXCarreraXPeriodoXPPPXEstado(Int32 CarreraId, Int32 PeriodoId, Int32 PracticaPreProfesionalId, Int32? Estado)
 {
     SSIA2013DataContext dc = null;
     try
     {
         dc = new SSIA2013DataContext(ConfigurationManager.ConnectionStrings["SSIA2013"].ToString());
         List<uspMallaEncuesta_ListarXCarreraXPeriodoXPPPXEstadoResult> lst = dc.uspMallaEncuesta_ListarXCarreraXPeriodoXPPPXEstado(CarreraId, PeriodoId, PracticaPreProfesionalId, Estado).ToList();
         return lst;
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         if (dc != null)
         {
             dc.Dispose();
         }
     }
 }