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://help.lemonedge.com/documents/ for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    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.Workflow
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.DocumentAttachment, "dbo.LT_DocumentAttachments", "DocumentAttachment", IsStandingDataEntity = false)]
    [DefaultEntityIcon(ImageType.Documents)]
    [EntityIndex(Name = "DocAttach", ColumnNames = new string[] { "DocumentID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
    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, "Document", "Attachment", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true, InheritPermissions = true)]
    [RequiredNoDefaultIDValidation]
    Guid DocumentID { get; set; }
    Property Value
    Type Description
    Guid

    DocumentImage

    The actual document.

    Declaration
    [EntityProperty(SQLType.VarBinary, true)]
    [EntityDescription("The actual document.")]
    byte[] DocumentImage { get; set; }
    Property Value
    Type Description
    byte[]

    DocumentLink

    A link to a file on a storage account. This will be fetched and put into byte data.

    Declaration
    [EntityProperty(SQLType.NVarChar, 1024, true)]
    [EntityDescription("An optional link to an article, file or url.")]
    string DocumentLink { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    IDocument
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.