Example #1
0
        public NotificationCollection FetchByQuery(Query qry)
        {
            NotificationCollection coll = new NotificationCollection();

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public NotificationCollection FetchByID(object NotificationKey)
        {
            NotificationCollection coll = new NotificationCollection().Where("notification_key", NotificationKey).Load();

            return(coll);
        }