Method CreateOleDbCacheDependency
CreateOleDbCacheDependency(String, String)
Creates a new instance of 
Declaration
public static DBCacheDependency CreateOleDbCacheDependency(string connectionString, string dbCacheKey)
            Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | connectionString | The connection string for establishing a connection with the database server where the database containing above mentioned table exists.  | 
                
| System.String | dbCacheKey | The primary key of the record. Many dependency objects can be created based on the same primary key. When the record with this primary key is modified in the database, the associated item(s) in the cache expire(s).  | 
                
Returns
| Type | Description | 
|---|---|
| DBCacheDependency | A SqlCacheDependency object based on the supplied parameters.  | 
                
Remarks
You need to enable notification for both the table and the database containing the table before you can use this DBCacheDependency in your application.