Interface ICanvasPromotion
The system entity for a Canvas promotion, which is part of a ICanvas
See https://help.lemonedge.com/help/open-architecture/admin/teams/canvases-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Data
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.CanvasPromotions, "dbo.LT_CanvasPromotions", "CanvasPromotion", IsStandingDataEntity = false, DontPromoteFromCanvas = true)]
[MultipleUnique(new string[] { "TeamID", "ParentCanvasID" })]
[DefaultEntityIcon(ImageType.UserPermission)]
public interface ICanvasPromotion : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
ParentCanvasID
[Key] Links to ICanvas. Holds the canvas you want this team to have permissions to promote items within it from.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Canvas, "ID", SingleJoinType.One, "Canvas", "Promotable By Teams", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid ParentCanvasID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TeamID
[Key] Links to ITeam. Holds the team that has permissions to promote items from within this canvas. This column will be hidden by default when viewed from a team itself.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Team", "Canvases Can Promote", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
Guid |