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);
        }
Exemplo n.º 3
0
        public NotificationCollection FetchByID(object NotificationKey)
        {
            NotificationCollection coll = new NotificationCollection().Where("notification_key", NotificationKey).Load();

            return(coll);
        }