Interface IEntityTag
The system entity for a tag, which can be marked against any entity record in the system
See https://web.lemonedge.com/help/tags-tool-window/ 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.EntityTag, "dbo.LT_EntityTags", "EntityTag", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Tag)]
public interface IEntityTag : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier
Properties
EntityID
[Key] The globally unique id of the entity (of type EntityTypeID) that this tag is associated with
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[Required]
[EntityDescription("The id of the item this tag is set against.")]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
EntityTypeID
[Tag] The type of entity this tag is associated with
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityDescription("The item type this tag is set against.")]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TagID
[Key] Links to ITag. The unique tag to associate with this data record
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Tag, "ID", SingleJoinType.One, "ITag", "ITagType", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[Required]
[EntityDescription("The unique tag against this item.")]
Guid TagID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |