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); }
public AutAccidenteCollection FetchByID(object IdAccidente) { AutAccidenteCollection coll = new AutAccidenteCollection().Where("idAccidente", IdAccidente).Load(); return(coll); }