コード例 #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);
        }