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

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