Class EmailAttachment
This EmailAttachment contains information about any attachments sent out via the EmailHelper class.
Inheritance
System.Object
EmailAttachment
Namespace: LymeTemplateApi.Models
Assembly: LymeTemplateApi.Models.dll
Syntax
public class EmailAttachment : object
Properties
EmailMessage
EF Navigation property
Declaration
public EmailMessage EmailMessage { get; set; }
Property Value
Type | Description |
---|---|
EmailMessage |
EmailMessageId
The ID of the parent EmailMessage object.
Declaration
public int EmailMessageId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FileSizeBytes
The file size of the attachment (for querying)
Declaration
public long? FileSizeBytes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Id
The primary key
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SavePath
The path on the server where the physical file exists.
Declaration
public string? SavePath { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |