Interface IEntityTag
The system entity for a tag, which can be marked against any entity record in the system
See https://help.lemonedge.com/tags-tool-window/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Data
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.EntityTag, "dbo.LT_EntityTags", "EntityTag", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Tag)]
[EntityIndex(Name = "EntityTag", ColumnNames = new string[] { "EntityID", "TagID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = true)]
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)]
[EntityKeyProperty]
[Required]
[EntityDescription("The id of the item this tag is set against.")]
[EntityLinkToAnyParentRelationship("EntityTypeID", SingleJoinType.One, "Tags", false, new Type[] { typeof(IVennSetQueryableItem), typeof(ISQLTypeWrapper), typeof(IDatasetQueryableItem) }, OnlyWithLabels = true)]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
EntityTypeID
[Tag] The type of entity this tag is associated with
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityKeyProperty]
[RequiredNoDefaultIDValidation]
[EntityDescription("The item type this tag is set against.")]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TagID
[Key] Links to ITag. The unique tag to associate with this data record
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Tag, "ID", SingleJoinType.One, "Tag", "Tagged Items", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[Required]
[EntityDescription("The unique tag against this item.")]
Guid TagID { get; set; }
Property Value
Type | Description |
---|---|
Guid |