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
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
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 |