Search Results for

    Show / Hide Table of Contents

    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
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    IHasVersion.IsSystem
    IHasVersion.Version
    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[]

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    IDocument
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.