public RisProfesionCollection FetchByQuery(Query qry) { RisProfesionCollection coll = new RisProfesionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RisProfesionCollection FetchAll() { RisProfesionCollection coll = new RisProfesionCollection(); Query qry = new Query(RisProfesion.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }