Search Results for

    Show / Hide Table of Contents

    Interface IComment

    The system entity for a Comment, which can be related to any entity

    See https://help.lemonedge.com/comments/ for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    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.Workflow
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.Comment, "dbo.LT_Comments", "Comment", IsStandingDataEntity = false)]
    [DefaultEntityIcon(ImageType.Comments)]
    [EntityIndex(Name = "Comments", ColumnNames = new string[] { "EntityID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    public interface IComment : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    CommentText

    A multi-line user friendly comment

    Declaration
    [EntityProperty(SQLType.NVarChar, false)]
    [EntityDescription("The comment.")]
    string CommentText { get; set; }
    Property Value
    Type Description
    string

    EntityID

    [Key] The ID of the entity (of type EntityTypeID) this comment is associated with

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityKeyProperty]
    [Required]
    [EntityDescription("The id of the item this comment is set against.")]
    [EntityLinkToAnyParentRelationship("EntityTypeID", SingleJoinType.One, "Comments", false, null)]
    Guid EntityID { get; set; }
    Property Value
    Type Description
    Guid

    EntityTypeID

    [Key] The type of entity this comment is associated with

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [EntityKeyProperty]
    [RequiredNoDefaultIDValidation]
    [EntityDescription("The item type this comment is set against.")]
    Guid EntityTypeID { get; set; }
    Property Value
    Type Description
    Guid

    Importance

    An ordering of the importance of the comment

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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.