Search Results for

    Show / Hide Table of Contents

    Interface ICanvasPromotedItem

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    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.Data
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.CanvasPromotedItem, "dbo.LT_CanvasPromotedItems", "CanvasPromotedItem", IsStandingDataEntity = false, DontPromoteFromCanvas = true)]
    [DefaultEntityIcon(ImageType.UpArrow)]
    [EntityIndex(Name = "Canvas", ColumnNames = new string[] { "ParentCanvasID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    [EntityIndex(Name = "ItemType", ColumnNames = new string[] { "ItemTypeID", "ItemID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    public interface ICanvasPromotedItem : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    ApprovedByUserID

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, FriendlyLabel = "Approved By User")]
    [EntityRelationship(EntityID.Users, "ID", SingleJoinType.One, "Approved By User", "Canvas Items Promoted", LinkToItemInSet = false)]
    Guid ApprovedByUserID { get; set; }
    Property Value
    Type Description
    Guid

    ItemID

    [Key] The globally unique id of the entity being linked to

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityDescription("The item itself.")]
    [EntityKeyProperty]
    [EntityLinkToAnyParentRelationship("ItemTypeID", SingleJoinType.One, "Canvas Promoted Items", false, null, DeleteWithRelationship = false, PreventAutoConstraint = true)]
    Guid ItemID { get; set; }
    Property Value
    Type Description
    Guid

    ItemTypeID

    [Key] The type of entity that was promoted

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    [EntityDescription("The type of item.")]
    Guid ItemTypeID { get; set; }
    Property Value
    Type Description
    Guid

    LastModifiedInCanvasByUserID

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, true, FriendlyLabel = "Changed In Canvas By User")]
    [EntityRelationship(EntityID.Users, "ID", SingleJoinType.ZeroToOne, "Changed In Canvas By User", "Canvas Items Promoted", LinkToItemInSet = false)]
    Guid? LastModifiedInCanvasByUserID { get; set; }
    Property Value
    Type Description
    Guid?

    ParentCanvasID

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityKeyProperty]
    [EntityRelationship(EntityID.Canvas, "ID", SingleJoinType.One, "Canvas", "Promoted Item", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
    [RequiredNoDefaultIDValidation]
    Guid ParentCanvasID { get; set; }
    Property Value
    Type Description
    Guid

    Status

    Declaration
    [EntityProperty(SQLType.SmallInt, false)]
    CanvasItemStatus Status { get; set; }
    Property Value
    Type Description
    CanvasItemStatus

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.