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