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