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

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

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