Exemplo n.º 1
0
        public NotificationCollection FetchByQuery(Query qry)
        {
            NotificationCollection coll = new NotificationCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public NotificationCollection FetchAll()
        {
            NotificationCollection coll = new NotificationCollection();
            Query qry = new Query(Notification.Schema);

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