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); }