Search Results for

    Show / Hide Table of Contents

    Interface IItemTask

    The system entity for a task, which can be associated with any entity in the system

    See https://web.lemonedge.com/help/tasks/ for more information

    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.Entities
    Assembly: API.dll
    Syntax
    [EntityDefinition(EntityID.Task, "dbo.LT_ItemTasks", "ItemTask", IsStandingDataEntity = false, LabelColumn = "Title", HelpURL = "tasks")]
    [DefaultEntityIcon(ImageType.Pin)]
    public interface IItemTask : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    Deadline

    A date indicating the date this task should be completed by

    Declaration
    [EntityProperty(SQLType.DateTimeOffset, true, IsDate = true)]
    [EntityDescription("An optional deadline for this task.")]
    DateTimeOffset? Deadline { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTimeOffset>

    Description

    User friendly description of this task

    Declaration
    [EntityProperty(SQLType.NVarChar, (short)500, true)]
    [EntityDescription("Description of this task.")]
    string Description { get; set; }
    Property Value
    Type Description
    System.String

    EntityID

    The globally unique id of the entity (of type EntityTypeID) this task is associated with

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true)]
    [EntityDescription("The id of the item this task is assigned against.")]
    Guid? EntityID { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>

    EntityTypeID

    The type of entity this task is associated with

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true, IsEntityTypeLink = true)]
    [EntityDescription("The optional item this task is assigned against.")]
    Guid? EntityTypeID { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>

    Importance

    Indicates the importance of this task. High tasks are always shown first by default.

    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    [EntityDescription("Indicates the importance of this task. High tasks are always shown first by default.")]
    ItemImportance Importance { get; set; }
    Property Value
    Type Description
    ItemImportance

    Notes

    Extra multi-line notes about this task

    Declaration
    [EntityProperty(SQLType.NVarChar, true)]
    [EntityDescription("Extra notes about this task.")]
    string Notes { get; set; }
    Property Value
    Type Description
    System.String

    PercentComplete

    A percentage indicating the the completeness of this task

    Declaration
    [EntityProperty(SQLType.Decimal, (short)10, (short)7, false)]
    [EntityDescription("Indicates the percentage of this task that is complete.")]
    decimal PercentComplete { get; set; }
    Property Value
    Type Description
    System.Decimal

    Reference

    [Key] A system generated unique number for this task

    Declaration
    [EntityProperty(SQLType.Int, false, "0")]
    [EntityDescription("Holds the unique reference for this task.")]
    [EntityAutoIncrementColumn(1)]
    int Reference { get; set; }
    Property Value
    Type Description
    System.Int32

    Status

    A flag indicating the current status of this task

    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    [EntityDescription("The current status of this task.")]
    TaskStatus Status { get; set; }
    Property Value
    Type Description
    TaskStatus

    Title

    User friendly title of this task

    Declaration
    [EntityProperty(SQLType.NVarChar, (short)500, false)]
    [EntityDescription("Title of this task.")]
    string Title { get; set; }
    Property Value
    Type Description
    System.String

    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 © LemonTree Software Ltd. All rights reserved.