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