Establishes a relationship between an item stored in an application's Cache object and either a row in a specific SQL Server database table or the results of a SQL Server 2005 query.
[Serializable] public sealed class SqlCacheDependency : CacheDependency, IDisposable
You can add items with dependencies to your application's cache with the
When you add an item to an application's
This helps you avoid losing changes made to the object between the time it is created and the time it is inserted into the
Initializes a new instance of the SqlCacheDependency class, using the supplied connection string and query string.
|SqlCacheDependency(String, String, SqlCommandType, Dictionary<String, SqlCmdParams>)||
Initializes a new instance of the SqlCacheDependency class. It supports the use of 'Stored Procedures'.