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://web.lemonedge.com/help/comments/ 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.Comment, "dbo.LT_Comments", "Comment", IsStandingDataEntity = false)]
    [DefaultEntityIcon(ImageType.Comments)]
    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
    System.String

    EntityID

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

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

    EntityTypeID

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

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [EntityDescription("The item type this comment is set against.")]
    Guid EntityTypeID { get; set; }
    Property Value
    Type Description
    System.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

    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.