Class DBCacheDependency
Establishes a relationship between an item stored in an application's Cache object and either a specific database table. This class cannot be inherited.
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public sealed class DBCacheDependency : CacheDependency, IDisposable
Remarks
This Feature is Not Available in Express
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
ConnectionString
Declaration
public string ConnectionString { get; }
Property Value
Type | Description |
---|---|
System.String |
PrimaryKey
Declaration
public string PrimaryKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Declaration
public DBDependencyType Type { get; }
Property Value
Type | Description |
---|---|
DBDependencyType |