Click or drag to resize

MailTemplate Class

Inheritance Hierarchy
SystemObject
  Omada.OE.ModelMailTemplate

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class MailTemplate : ICloneable, 
	IObjectWithDataVersion, IObjectWithId, IObjectWithGuid, IEntityObject, IObjectWithLastChangedInfo

The MailTemplate type exposes the following members.

Constructors
  NameDescription
Public methodMailTemplate
Top
Properties
  NameDescription
Public propertyChangedBy
Public propertyChangeTime
Public propertyCreatedBy
Public propertyCreateTime
Public propertyDataObjectTypeId
States the type of the object, that the mail is based on The type determines Which mail variable that can be used
Public propertyDataVersion
Public propertyEventType
Only used if ProcessReleated is true State the process eventtype that the template is used for
Public propertyId
Public propertyMessage
Public propertyName
Public propertyNumber
Public propertyPriority
Mail priority
Public propertyProcessRelated
States whatever a template is process-relevant
Public propertySubject
Public propertyUId
Top
Methods
  NameDescription
Public methodClone
Public methodCloneMailTempalte
Clones the mail templaten and resets relevant ID's
Public methodStatic memberGetDefaultActivityAssignedMessageTemplate
Public methodStatic memberGetDefaultMessageTemplate
Public methodStatic memberGetPropertyVariableNumbers
Returns the numbers for the properties, which are applied as variables in the template string.
Public methodStatic memberIsBodyHtml
Returns true if the mail body is a HTML document
Public methodPassesFilter
Public methodResetAll
Resets the ID's in the object.
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithDataVersion.GetDataVersion
Explicit interface implementationPrivate methodIObjectWithGuid.GetGuid
Explicit interface implementationPrivate methodIObjectWithId.GetId
Explicit interface implementationPrivate propertyIEntityObjectDataVersion
The data version of an entity object is incremented every time it gets updated. If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects) then the DataVersion is also "touched" when an embedded object changes.
Explicit interface implementationPrivate propertyIEntityObjectId
Unique id of the entity object within its entity type.
Top
See Also