Example #1
0
        public PnPatologiasFrecuenteCollection FetchByQuery(Query qry)
        {
            PnPatologiasFrecuenteCollection coll = new PnPatologiasFrecuenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PnPatologiasFrecuenteCollection FetchAll()
        {
            PnPatologiasFrecuenteCollection coll = new PnPatologiasFrecuenteCollection();
            Query qry = new Query(PnPatologiasFrecuente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PnPatologiasFrecuenteCollection FetchByID(object IdPatologiasFrecuentes)
        {
            PnPatologiasFrecuenteCollection coll = new PnPatologiasFrecuenteCollection().Where("id_patologias_frecuentes", IdPatologiasFrecuentes).Load();

            return(coll);
        }