You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the example code, but when i insert data in SSMS, the TableChangedEvent trigger three times in this order --- NotificationType.None, NotificationTypes.Update, NotificationTypes.Insert.
I want to monitor update, insert, delete event, when I delete and update data in SSMS it works perfectly. Just the insert trigger three times...
`var listener = new SqlDependencyEx(connectionString, "DatabaseName", "TableName");
I use the example code, but when i insert data in SSMS, the TableChangedEvent trigger three times in this order --- NotificationType.None, NotificationTypes.Update, NotificationTypes.Insert.
I want to monitor update, insert, delete event, when I delete and update data in SSMS it works perfectly. Just the insert trigger three times...
`var listener = new SqlDependencyEx(connectionString, "DatabaseName", "TableName");
listener.TableChanged += (o, e) =>
{
//logic code
};
listener.Start();`
Thanks for any reply!
The text was updated successfully, but these errors were encountered: