예제 #1
0
        public PnPatologiaCollection FetchByQuery(Query qry)
        {
            PnPatologiaCollection coll = new PnPatologiaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnPatologiaCollection FetchAll()
        {
            PnPatologiaCollection coll = new PnPatologiaCollection();
            Query qry = new Query(PnPatologia.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public PnPatologiaCollection FetchByID(object IdPatologias)
        {
            PnPatologiaCollection coll = new PnPatologiaCollection().Where("id_patologias", IdPatologias).Load();

            return(coll);
        }