Interface IWatcherNotificationListener
The system entity for a watcher notification listener, which tracks notification being read
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: 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 |
---|---|
System.Boolean |
UserID
[Key] Links to IUser. The user that has seen and dismissed this notification
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.One, "User", "Notifications", DeleteWithRelationship = true)]
[EntityDescription("The user that can see this notification.")]
Guid UserID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
WatcherNotificationID
[Key] Links to IWatcherNotification. The parent notification this dismisal belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.WatcherNotification, "ID", SingleJoinType.One, "Watcher Notification", "Listeners", DeleteWithRelationship = true)]
[EntityDescription("The notification that users can see/dismiss.")]
Guid WatcherNotificationID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |