示例#1
0
        public void InsertNotification(IEnumerable <SystemNotificationModel> notifications)
        {
            var rawXml = XmlSerializerHelpers.Serialize(new SystemNotificationBulkXmlSerilizableModel
            {
                Notifications = notifications.ToList()
            });

            CommonSystemNotificationsDal.InsertNotifications(QPConnectionScope.Current.DbConnection, rawXml);
        }
示例#2
0
 public void UpdateUnsentNotifications(IEnumerable <int> notificationIds, string lastExceptionMessage = null)
 {
     CommonSystemNotificationsDal.UpdateUnsentNotifications(QPConnectionScope.Current.DbConnection, notificationIds, lastExceptionMessage);
 }
示例#3
0
 public void DeleteSentNotifications()
 {
     CommonSystemNotificationsDal.DeleteSentNotifications(QPConnectionScope.Current.DbConnection);
 }
示例#4
0
 public void UpdateSentNotifications(IEnumerable <int> notificationIds)
 {
     CommonSystemNotificationsDal.UpdateSentNotifications(QPConnectionScope.Current.DbConnection, notificationIds);
 }