Interface IDataTemplateAttachment
The system entity for a Template Attachment, which holds the file to use as a template for the exported data
See https://web.lemonedge.com/help/excel-templates/ 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.DataTemplateAttachment, "dbo.LT_DataTemplateAttachments", "DataTemplateAttachment", IsStandingDataEntity = false)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.SQLWrapper, "OwnerEntityID", "ID", ExcludeFromRelationship = true)]
public interface IDataTemplateAttachment : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
DataTemplateID
Links to IDataTemplate. The parent this attachment is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.DataTemplate, "ID", SingleJoinType.One, "Parent Data Template", "Attachment", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true, InheritPermissions = true)]
Guid DataTemplateID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
DocumentImage
The actual document template.
Declaration
[EntityProperty(SQLType.VarBinary, false)]
[EntityDescription("The actual document template.")]
byte[] DocumentImage { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |