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