NotificationRepo Class

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

Repo for notifications.

public static class NotificationRepo
Inheritance:
System.Object → NotificationRepo

Methods

Cleanup(Int32) Permanently deletes old Notification objects from the repository.
Delete(Int32) Permanently deletes a Notification object from the repository.
Get(Int32) Gets a Notification object from the repository.
Insert(Notification) Inserts a Notification object into the repository.
ReadAll(Int32, Nullable) 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.