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