NotificationRepo Class

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Repo for notifications.

public static class NotificationRepo
Inheritance:
System.Object → NotificationRepo

Methods

Cleanup(int) Permanently deletes old Notification objects from the repository.
Delete(int) Permanently deletes a Notification object from the repository.
Get(int) Gets a Notification object from the repository.
Insert(Notification) Inserts a Notification object into the repository.
ReadAll(int, int?) Mark all unread notifications for a user as read. Optionally the id of the last viewed notification could be passed in, so that un-viewed notifications aren not marked as read.
Search(NotificationQuery) Performs a search according to the specified NotificationQuery object.
Update(Notification) Updates an existing Notification.