sqldependency - How to apply Sql Dependency in ASP.NET MVC? -


How can we implement SQL dependency in SPNT MVC for a cached object?

To install the dependency, you have one or more SqlCommand objects Need to associate an SqlDependency object. To receive notifications, you need to subscribe to on-change events.

If you are using an ORM for your data model, then I'm not sure how this applies.

More info here:


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -