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

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

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