Interface IDocumentOwner
Links a document to one or more objects. This is a many to many relationship. IDocument
Inherited Members
Namespace: LemonEdge.API.Entities.Workflow
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.DocumentOwner, "dbo.LT_DocumentOwner", "DocumentOwner", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.LinkedItems)]
[EntityIndex(Name = "DocumentOwner", ColumnNames = new string[] { "OwnerID", "AccountID", "CanvasID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
[ForeignPermissions(1, "FolderID", typeof(IFolder), "ID", RelationshipJoinType.Inclusive)]
[ForeignPermissionsLink("OwnerTypeID", "RootFolderEntityTypeID")]
[ForeignPermissionsLink("OwnerID", "RootFolderEntityID")]
public interface IDocumentOwner : IOwner, IHasFolderStructure, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
DocumentID
[Key] The Id of the article that this is linkage is for. against
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Document, "ID", SingleJoinType.One, "Document", "Owners", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[EntityKeyProperty]
[Required]
[EntityDescription("The id of the document.")]
Guid DocumentID { get; set; }
Property Value
Type | Description |
---|---|
Guid |