Hendrik Bulens All about .NET development

TagTrigger

C# trigger after database changes with SQLDependency

C

I found the following amazing article with some code that works without any modifications. With SQLDependency, you can listen to database changes with a predefined query. If something happens to this result set (INSERT/DELETE/UPDATE) an event will be triggered, allowing you to take action.

Advertisements

Hendrik Bulens All about .NET development