Search Results for

    Show / Hide Table of Contents

    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
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    ICanvas
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.