Interface IWatcherNotificationListener
The system entity for a watcher notification listener, which tracks notification being read
Inherited Members
Namespace: LemonEdge.API.Entities.Workflow
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.WatcherNotificationListener, "dbo.LT_WatcherNotificationListeners", "WatcherNotificationListener")]
[DefaultEntityIcon(ImageType.User)]
public interface IWatcherNotificationListener : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Dismissed
Indicates if the user has seen and dismissed this notification.
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if the user has seen and dismissed this notification.")]
bool Dismissed { get; set; }
Property Value
Type | Description |
---|---|
bool |
UserID
[Key] Links to IUser. The user that has seen and dismissed this notification
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[RequiredNoDefaultIDValidation]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.One, "User", "Watcher Notification Listeners", DeleteWithRelationship = true)]
[EntityDescription("The user that can see this notification.")]
[EntityKeyProperty]
Guid UserID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
WatcherNotificationID
[Key] Links to IWatcherNotification. The parent notification this dismisal belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[RequiredNoDefaultIDValidation]
[EntityRelationship(EntityID.WatcherNotification, "ID", SingleJoinType.One, "Watcher Notification", "Listeners", DeleteWithRelationship = true)]
[EntityDescription("The notification that users can see/dismiss.")]
[EntityKeyProperty]
Guid WatcherNotificationID { get; set; }
Property Value
Type | Description |
---|---|
Guid |