Interface ICanvasPromotedItem
Assembly: LemonEdge.API.dll
[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
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
[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
[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
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
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
Declaration
[EntityProperty(SQLType.SmallInt, false)]
CanvasItemStatus Status { get; set; }
Property Value
Extension Methods