Search Results for

    Show / Hide Table of Contents

    Interface IHasSaveProcessingTask

    Indicates this entity when saved can create an associated task to finish processing the save.

    This task is created during the save by a processor implementing IBaseDataSetProcessorWithDBSave

    See BaseTransactionProcessor for more info

    This is used by a client to notice that although the save is complete, a task has been automatically created for processing the rest of this task, and it can track that task for final completion. When the task is completing one of the steps is to set this back to null.

    Inherited Members
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    Namespace: LemonEdge.API.Core
    Assembly: API.dll
    Syntax
    public interface IHasSaveProcessingTask : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    SavedTaskID

    Links to IServerTask. Indicates the task that has been automatically created during the save process for completing any further processing

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityDescription("Holds the task automatically created for processing during a modification.")]
    [EntityRelationship(EntityID.ServerTask, "ID", SingleJoinType.ZeroToOne, "Saved Processing Task", "Items Processed On Save")]
    Guid? SavedTaskID { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>

    SavedTaskParam

    Holds the associated parameters for the task SavedTaskID

    Declaration
    [EntityProperty(SQLType.VarBinary, true)]
    [EntityDescription("The parameters for running the task automatically created for processing during a modification.")]
    byte[] SavedTaskParam { get; set; }
    Property Value
    Type Description
    System.Byte[]

    Methods

    GetShouldAutoGenerateTaskOnSave()

    Indicates if the task should automatically be generated on save

    Only runs on the service, or directly connected to db. Defaults to true

    So ensure processors that implement IBaseDataSetProcessorWithDBSave correctly set this for the task to be auto created or not on save
    Declaration
    bool GetShouldAutoGenerateTaskOnSave()
    Returns
    Type Description
    System.Boolean

    If the task should automatically be generated on save

    SetAutoGenerateOnSave(Boolean)

    Sets if thie task should be generated for this item on save or not

    Declaration
    void SetAutoGenerateOnSave(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    Indicates if the task should be generated on save or not

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.