Interface IDocumentAttachment
The system entity for a Document Attachment, which holds the version of a file against a parent document
See https://web.lemonedge.com/help/documents/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.DocumentAttachment, "dbo.LT_DocumentAttachments", "DocumentAttachment", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Documents)]
public interface IDocumentAttachment : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IHasVersion
Properties
DocumentID
Links to IDocument. The parent document this attachment is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Document, "ID", SingleJoinType.One, "DocumentAttachment", "Document", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true, InheritPermissions = true)]
Guid DocumentID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
DocumentImage
The actual document.
Declaration
[EntityProperty(SQLType.VarBinary, false)]
[EntityDescription("The actual document.")]
byte[] DocumentImage { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |