Class NosDBDependency
Establishes a relationship between an item stored in an application's Cache object and either a specific database item. This class cannot be inherited.
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class NosDBDependency : CacheDependency
Remarks
You can add items with dependencies to your application's cache with the
When you add an item object with NosDBDependency to
Name | Description |
---|---|
NosDBDependency(String, String) | Constructor of NosDBDependency class. |
NosDBDependency(String, String, Dictionary<String, Object>, Int32) | Constructor for NosDBDependency class. It takes connectionString of the database, commandText, parameters and timeout as arguments. |
Name | Description |
---|---|
CommandText | CommandText to be used by dependency. |
ConnectionString | Connection String is the connection string that is required to the cache in order to connect with database. |
Parameters | Parameters to be used by dependency. |
Timeout | Time after which timeout exception will be thrown. |