Interface IWatcherNotification
The system entity for a watcher notification, which tracks notification messages against items that are being watched
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.WatcherNotification, "dbo.LT_WatcherNotifications", "WatcherNotification")]
[DefaultEntityIcon(ImageType.Notify)]
public interface IWatcherNotification : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityID
The unique id of the entity this notification is against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
EntityTypeID
[Key] The entity type this notification is for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Message
The message for this notification
Declaration
[EntityProperty(SQLType.NVarChar, false)]
[EntityDescription("The notification message.")]
string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WatcherTriggerID
[Key] Links to IActionTrigger. The action that triggered this notification.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ActionTrigger, "ID", SingleJoinType.One, "Watcher Triggger", "Notifications", DeleteWithRelationship = true)]
[EntityDescription("The action that triggered this notification.")]
Guid WatcherTriggerID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |