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); }