Class ActionTriggerGate
Inheritance
ActionTriggerGate
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class ActionTriggerGate : BaseEntityWithPermissions, IActionTriggerGate, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IActionTriggerGate>
Constructors
ActionTriggerGate()
Declaration
public ActionTriggerGate()
Properties
ActionItemProperty
If the Entity Type is different then the Trigger Entity Type, then this holds the Property on the Entity Type of
this gate that relates the Entity Type to the Trigger Entity Type.
In other words you Trigger maybe against a Transaction, and this gate could be checking for certain GL Posting
records which would use an Action Item Property of TransactionID which would relate the GLPostings back to the
Transaction for this Trigger.
Declaration
public string ActionItemProperty { get; set; }
Property Value
ActionOnActionMatch
Indicates this Gate is evaluated if the Trigger task has a specific Action Match value. The values can be hand
entered by users when manually starting a Trigger Task.
Declaration
[StringLength(500)]
public string ActionOnActionMatch { get; set; }
Property Value
ActionOnDelete
Indicates this Gate is evaluated if the Entity Type specified has been Deleted
Declaration
public bool ActionOnDelete { get; set; }
Property Value
ActionOnInsert
Indicates this Gate is evaluated if the Entity Type specified has been Inserted
Declaration
public bool ActionOnInsert { get; set; }
Property Value
ActionOnUpdate
Indicates this Gate is evaluated if the Entity Type specified has been Updated
Declaration
public bool ActionOnUpdate { get; set; }
Property Value
ActionTriggerID
[Key] Links to IActionTrigger. The parent trigger this gate is active against.
Declaration
[RequiredNoDefaultIDValidation]
public Guid ActionTriggerID { get; set; }
Property Value
ActionTriggerID_Label
Declaration
public string ActionTriggerID_Label { get; set; }
Property Value
ActionTriggerID_Label_Silent
Declaration
[NotMapped]
public string ActionTriggerID_Label_Silent { get; set; }
Property Value
ActionWhen
Indicates this trigger should only be activated when this specified formula passes.
Declaration
public string ActionWhen { get; set; }
Property Value
EntityTypeID
[Key] The type of entity in the system that you want to perform a check on for this Trigger to be active. This can
be the same type as the Trigger Entity Type itself, or a different one that is related to the Trigger Entity Type.
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
GatePropertyComboItems
Declaration
[NotMapped]
public KeyValuePair<string, string>[] GatePropertyComboItems { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IActionTriggerGate)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IActionTriggerGate source)
Parameters
Type |
Name |
Description |
IActionTriggerGate |
source |
The source object to copy all values from.
|
SetGatePropertyComboItems(Func<ActionTriggerGate, KeyValuePair<string, string>[]>)
Declaration
public void SetGatePropertyComboItems(Func<ActionTriggerGate, KeyValuePair<string, string>[]> comboItems)
Parameters
Implements
Extension Methods