Exemplo n.º 1
0
        public RemAgenteCollection FetchByQuery(Query qry)
        {
            RemAgenteCollection coll = new RemAgenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public RemAgenteCollection FetchAll()
        {
            RemAgenteCollection coll = new RemAgenteCollection();
            Query qry = new Query(RemAgente.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }