Interface IDataTemplateAttachment
The system entity for a Template Attachment, which holds the file to use as a template for the exported data
See https://help.lemonedge.com/excel-templates/ for more information
Inherited Members
Namespace: LemonEdge.API.Entities.Reporting
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.DataTemplateAttachment, "dbo.LT_DataTemplateAttachments", "DataTemplateAttachment", IsStandingDataEntity = false)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.SQLWrapper, "OwnerEntityID", "ID", ExcludeFromRelationship = true)]
[EntityIndex(Name = "TemplateAttachment", ColumnNames = new string[] { "DataTemplateID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = 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 = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid DataTemplateID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
DocumentImage
The actual document template.
Declaration
[EntityProperty(SQLType.VarBinary, false)]
[EntityDescription("The actual document template.")]
byte[] DocumentImage { get; set; }
Property Value
Type | Description |
---|---|
byte[] |