示例#1
0
 private void dependency_OnChange(object sender, SqlNotificationEventArgs e)
 {
     if (e.Type == SqlNotificationType.Change)
     {
         NotificationsHub.SendMessages();
     }
 }