public AutVehiculoCollection FetchByQuery(Query qry) { AutVehiculoCollection coll = new AutVehiculoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutVehiculoCollection FetchAll() { AutVehiculoCollection coll = new AutVehiculoCollection(); Query qry = new Query(AutVehiculo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutVehiculoCollection FetchByID(object IdVehiculo) { AutVehiculoCollection coll = new AutVehiculoCollection().Where("idVehiculo", IdVehiculo).Load(); return(coll); }