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); }
public RemAgenteCollection FetchByID(object IdAgente) { RemAgenteCollection coll = new RemAgenteCollection().Where("idAgente", IdAgente).Load(); return(coll); }