Interface IServerTaskData
The system entity for a server task data, which holds the parameters and results for a given task
See https://help.lemonedge.com/server-tasks/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Tasks
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.ServerTaskData, "dbo.LT_ServerTaskData", "ServerTaskData", SelectWithNoLock = true)]
[EntityIndex(Name = "TaskData", ColumnNames = new string[] { "ServerTaskID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = true)]
public interface IServerTaskData : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
ChainedTaskParam
The parameters for running the chained task.
Declaration
[EntityProperty(SQLType.VarBinary, true)]
[EntityDescription("The parameters for running the chained task.")]
byte[] ChainedTaskParam { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
ServerTaskID
[Key] Links to IServerTask. The parent server task these data param/results belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.ServerTask, "ID", SingleJoinType.One, "Server Task", "Data", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[Required]
[RequiredNoDefaultIDValidation]
Guid ServerTaskID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TaskParam
The parameters for running this task.
Declaration
[EntityProperty(SQLType.VarBinary, true)]
[EntityDescription("The parameters for running this task.")]
byte[] TaskParam { get; set; }
Property Value
Type | Description |
---|---|
byte[] |
TaskResult
The result for running this task.
Declaration
[EntityProperty(SQLType.VarBinary, true)]
[EntityDescription("The result for running this task.")]
byte[] TaskResult { get; set; }
Property Value
Type | Description |
---|---|
byte[] |