Exemple #1
0
        public MamRegistroCollection FetchByQuery(Query qry)
        {
            MamRegistroCollection coll = new MamRegistroCollection();

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

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