Interface IWatcherNotification
The system entity for a watcher notification, which tracks notification messages against items that are being watched
Inherited Members
Namespace: LemonEdge.API.Entities.Workflow
Assembly: LemonEdge.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)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
EntityTypeID
[Key] The entity type this notification is for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityKeyProperty]
[RequiredNoDefaultIDValidation]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Message
The message for this notification
Declaration
[EntityProperty(SQLType.NVarChar, false)]
[EntityDescription("The notification message.")]
string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
WatcherTriggerID
[Key] Links to IActionTrigger. The action that triggered this notification.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[RequiredNoDefaultIDValidation]
[EntityRelationship(EntityID.ActionTrigger, "ID", SingleJoinType.One, "Watcher Triggger", "Notifications", DeleteWithRelationship = true)]
[EntityDescription("The action that triggered this notification.")]
[EntityKeyProperty]
Guid WatcherTriggerID { get; set; }
Property Value
Type | Description |
---|---|
Guid |