Interface IActionTrigger
The system entity for triggers
See https://web.lemonedge.com/help/triggers/ for more information
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.ActionTrigger, "dbo.LT_ActionTriggers", "ActionTrigger", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "triggers")]
[EntityDefintionOldInfo(EntityID.ActionTrigger, "dbo.WatcherTriggers", "WatcherTrigger")]
[DefaultEntityIcon(ImageType.Trigger)]
public interface IActionTrigger : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityTypeID
The type of entity this Trigger operates against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Name
[Key] The unique name of this Trigger
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this Trigger.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TriggeredActionID
The type of action to use when this Trigger is executed
All trigger types inherit from BaseTriggerTask
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, "'00000000-0000-0000-0000-000000000000'")]
Guid TriggeredActionID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TriggeredActionParameter
Any custom parameters for this trigger action TriggeredActionID
Declaration
[EntityProperty(SQLType.NVarChar, true)]
string TriggeredActionParameter { get; set; }
Property Value
Type | Description |
---|---|
System.String |