Class EmailTemplate
The EmailTemplate table allows administrators to author templates for automated emails that are sent from the web application to its users.
Inheritance
System.Object
EmailTemplate
Namespace: LymeTemplateApi.Models
Assembly: LymeTemplateApi.Models.dll
Syntax
public class EmailTemplate : object
Properties
Body
The token injectable body for an email message consuming this template.
Declaration
public string Body { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EmailTemplateType
EF Navigation Property
Declaration
public EmailTemplateType EmailTemplateType { get; set; }
Property Value
Type | Description |
---|---|
EmailTemplateType |
EmailTemplateTypeId
Foreign Key to the EmailTemplateType table
Declaration
public int EmailTemplateTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Id
Primary Key
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
The name of the Email Template.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Subject
The token injectable subject for an email message consuming this template.
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |