Interface ICanvasItemApproval
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.CanvasItemApproval, "dbo.LT_CanvasItemApprovals", "CanvasItemApproval", IsStandingDataEntity = false, DontPromoteFromCanvas = true)]
[DefaultEntityIcon(ImageType.Tick)]
[EntityIndex(Name = "ParentCanvasItem", ColumnNames = new string[] { "ParentCanvasID", "ItemTypeID", "ItemID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
[EntityIndex(Name = "CanvasApprovalItemID", ColumnNames = new string[] { "ItemID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
public interface ICanvasItemApproval : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
ApprovedByUserID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true, FriendlyLabel = "Approved By User")]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.ZeroToOne, "Approved By User", "Canvas Items Approved", LinkToItemInSet = false)]
Guid? ApprovedByUserID { get; set; }
Property Value
The comment for approval or rejection of this item
Declaration
[EntityProperty(SQLType.NVarChar, true)]
string Comment { get; set; }
Property Value
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 Approved Items", false, null)]
Guid ItemID { get; set; }
Property Value
ItemTypeID
[Key] The type of entity that is being linked to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityDescription("The type of item.")]
[EntityKeyProperty]
Guid ItemTypeID { get; set; }
Property Value
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", "Approved Item For Promotion", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid ParentCanvasID { get; set; }
Property Value
RejectedByUserID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true, FriendlyLabel = "Rejected By User")]
[EntityRelationship(EntityID.Users, "ID", SingleJoinType.ZeroToOne, "Rejected By User", "Canvas Items Rejected", LinkToItemInSet = false)]
Guid? RejectedByUserID { get; set; }
Property Value
Extension Methods