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); }); }
public IUpdateNotificationTemplateSyntax SetBodyFormat(RefListNotificationTemplateType bodyFormat) { Expression.Template.BodyFormat.Set(bodyFormat); return(this); }