| MailTemplateControllerFormatTemplateText Method (String, MailReceiver, DataObject, SqlConnection, SqlTransaction) |
Formates a text based for a specific receiver based on a source object
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static string FormatTemplateText(
string templateText,
MailReceiver mailReceiver,
DataObject source,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- templateText
- Type: SystemString
The template message - mailReceiver
- Type: Omada.OE.ModelMailReceiver
Mail receiver. - source
- Type: Omada.OE.ModelDataObject
Used as the source of the mail variabels. - dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
String
See Also