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