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
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 |