public PnPatologiaCollection FetchByQuery(Query qry) { PnPatologiaCollection coll = new PnPatologiaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPatologiaCollection FetchAll() { PnPatologiaCollection coll = new PnPatologiaCollection(); Query qry = new Query(PnPatologia.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPatologiaCollection FetchByID(object IdPatologias) { PnPatologiaCollection coll = new PnPatologiaCollection().Where("id_patologias", IdPatologias).Load(); return(coll); }