Esempio n. 1
0
        public MamRegistroCollection FetchByQuery(Query qry)
        {
            MamRegistroCollection coll = new MamRegistroCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public MamRegistroCollection FetchAll()
        {
            MamRegistroCollection coll = new MamRegistroCollection();
            Query qry = new Query(MamRegistro.Schema);

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