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
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.ServerTaskData, "dbo.LT_ServerTaskData", "ServerTaskData", SelectWithNoLock = true)]
public interface IServerTaskData : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
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]
Guid ServerTaskID { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Byte[] |