Table of Contents

Class EmailTemplateInfo

Namespace
CMS.EmailLibrary
Assembly
CMS.EmailMarketing.dll

Data container class for EmailTemplateInfo.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name, Priority = InfoCachePriority.NotRemovable)]
public class EmailTemplateInfo : AbstractInfo<EmailTemplateInfo, IEmailTemplateInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid, IInfoWithName
Inheritance
object
EmailTemplateInfo
Implements
Inherited Members
Extension Methods

Constructors

EmailTemplateInfo()

Creates an empty instance of the EmailTemplateInfo class.

public EmailTemplateInfo()

EmailTemplateInfo(DataRow)

Creates a new instances of the EmailTemplateInfo class from the given System.Data.DataRow.

public EmailTemplateInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "emaillibrary.emailtemplate"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

EmailTemplateCode

Email template code.

[DatabaseField]
public virtual string EmailTemplateCode { get; set; }

Property Value

string

EmailTemplateDescription

Email template description.

[DatabaseField]
public virtual string EmailTemplateDescription { get; set; }

Property Value

string

EmailTemplateDisplayName

Email template display name.

[DatabaseField]
public virtual string EmailTemplateDisplayName { get; set; }

Property Value

string

EmailTemplateGUID

Email template GUID.

[DatabaseField]
public virtual Guid EmailTemplateGUID { get; set; }

Property Value

Guid

EmailTemplateID

Email template ID.

[DatabaseField]
public virtual int EmailTemplateID { get; set; }

Property Value

int

EmailTemplateLastModified

Email template last modified.

[DatabaseField]
public virtual DateTime EmailTemplateLastModified { get; set; }

Property Value

DateTime

EmailTemplateName

Email template name.

[DatabaseField]
public virtual string EmailTemplateName { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()