Assembly: LemonEdge.API.Entities.Auto.dll
[DataContract]
public class Comment : BaseEntityWithPermissions, IComment, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IComment>
Constructors
Declaration
Properties
A multi-line user friendly comment
Declaration
public string CommentText { get; set; }
Property Value
[Key] The ID of the entity (of type EntityTypeID) this comment is associated with
Declaration
[Required]
public Guid EntityID { get; set; }
Property Value
Declaration
public string EntityID_Label { get; set; }
Property Value
Declaration
[NotMapped]
public string EntityID_Label_Silent { get; set; }
Property Value
[Key] The type of entity this comment is associated with
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
An ordering of the importance of the comment
Declaration
[EnumDataType(typeof(ItemImportance))]
public ItemImportance Importance { get; set; }
Property Value
Declaration
[NotMapped]
public string Importance_Tooltip { get; set; }
Property Value
Methods
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IComment source)
Parameters
Type |
Name |
Description |
IComment |
source |
The source object to copy all values from.
|
Implements
Extension Methods