Пример #1
0
 internal void UpdateTemplateBodyFormat(Guid templateId, RefListNotificationTemplateType templateType)
 {
     ExecuteNonQuery("update Core_NotificationTemplates set BodyFormatLkp = @BodyFormatLkp where Id = @Id", command => {
         command.AddParameter("@BodyFormatLkp", (int)templateType);
         command.AddParameter("@Id", templateId);
     });
 }
Пример #2
0
 public IUpdateNotificationTemplateSyntax SetBodyFormat(RefListNotificationTemplateType bodyFormat)
 {
     Expression.Template.BodyFormat.Set(bodyFormat);
     return(this);
 }