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