예제 #1
0
        public RemAgenteCollection FetchByQuery(Query qry)
        {
            RemAgenteCollection coll = new RemAgenteCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public RemAgenteCollection FetchAll()
        {
            RemAgenteCollection coll = new RemAgenteCollection();
            Query qry = new Query(RemAgente.Schema);

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