Пример #1
0
 private void NotificationManager_NotificationOnChanged(object sender, SqlNotificationEventArgs e)
 {
     if (e.Type == System.Data.SqlClient.SqlNotificationType.Change)
     {
         NotificationHub.NewNotification("New notification!");
     }
 }