コード例 #1
0
        protected virtual List <MateriaModel> LlenarModelos(IDataReader reader)
        {
            List <MateriaModel> result = new List <MateriaModel>();

            while (reader.Read())
            {
                MateriaModel nc = new MateriaModel();
                nc.Fill(reader);
                result.Add(nc);
            }
            return(result);
        }
コード例 #2
0
        protected virtual List <MateriaModel> LlenarMateriasDelCatalogo(IDataReader reader, long catalogo_id)
        {
            List <MateriaModel> result = new List <MateriaModel>();

            while (reader.Read())
            {
                MateriaModel nc = new MateriaModel();
                nc.Fill(reader);
                result.Add(nc);
            }
            return(result);
        }