Catch/Raise event on table data update C#

Posted by Incognito on Stack Overflow See other posts from Stack Overflow or by Incognito
Published on 2010-05-11T18:41:36Z Indexed on 2010/05/11 18:44 UTC
Read the original article Hit count: 133

Filed under:
|
|
|
|

Hi,

I have 24/7 service which keeps setup (configuration data) for charging, routing and etc in the Sql Server. Once it is started it loads the data from table using Linq2SQL and use the data through all the application. And we need a solution to update the setup data in the table without restarting the application. So I am interested is it possible to catch/determine that the table was updated so I can refresh the setup data in the application. I mean is it possible to have events which will raise when there is any delete, update or insert on the table.

Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ADO.NET