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