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