-
Notifications
You must be signed in to change notification settings - Fork 22
Change Notification Appenders
Grauenwolf edited this page Mar 26, 2016
·
1 revision
SQL Server Only
The WithChangeNotification
appender is implemented on top of SQL Dependency. It is essential that you read and understand the requirements for using SQL Dependency before attempting to use this appender.
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldependency.aspx
This appender accepts an OnChangeEventHandler
delegate, which will be fired one time if the database detects an associated change. Once it fires, the event will have to be reattached.
Automatic cache invalidation is planned for the future. https://github.com/docevaad/Chain/issues/23