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
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.CanvasPromotions, "dbo.LT_CanvasPromotions", "CanvasPromotion", IsStandingDataEntity = false)]
[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)]
[EntityRelationship(EntityID.Canvas, "ID", SingleJoinType.One, "Canvas", "CanvasPromotions", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
Guid ParentCanvasID { get; set; }
Property Value
Type | Description |
---|---|
System.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)]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Teams", "CanvasPromotions", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |