コード例 #1
0
        public static CompetenciaAbetXMallaEncuestaCollectionDC TranslateCompetenciaAbetPDFXMallaEncuestaLRToCompetenciaAbetCollection(List<uspCompetenciaAbet_ListarPDFXMallaEncuestaResult> lstLR)
        {
            CompetenciaAbetXMallaEncuestaCollectionDC collection;

            try
            {
                collection = new CompetenciaAbetXMallaEncuestaCollectionDC();
                collection.LstCompetenciaAbetXMallaEncuesta = new Collection<CompetenciaAbetXMallaEncuestaDC>();

                for (int i = 0; i < lstLR.Count; i++)
                {
                    collection.LstCompetenciaAbetXMallaEncuesta.Add(TranslateCompetenciaAbetPDFXMallaEncuestaLRToCompetenciaAbetDC(lstLR[i]));
                }

                return collection;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            { }
        }
コード例 #2
0
        public static CompetenciaAbetXMallaEncuestaCollectionDC TranslateCompetenciaAbetxMallaEncuestaXResultadoProgramaToCompetenciaAbetCollection(List<uspCompetenciaAbet_ListarXMallaEncuestaXResultadoProgramaResult> objLR)
        {
            CompetenciaAbetXMallaEncuestaCollectionDC collection;

            try
            {
                collection = new CompetenciaAbetXMallaEncuestaCollectionDC();
                collection.LstCompetenciaAbetXMallaEncuesta = new Collection<CompetenciaAbetXMallaEncuestaDC>();

                for (int i = 0; i < objLR.Count; i++)
                {
                    collection.LstCompetenciaAbetXMallaEncuesta.Add(TranslateCompetenciaAbetxMallaencuestaXResultadoProgramaToCompetenciaAbetDC(objLR[i]));
                }

                return collection;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            { }
        }