Class NCache
Inheritance
System.Object
NCache
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Alachisoft.Integrations.EntityFramework.CachingProvider.dll
Syntax
public class NCache : ICache, IDisposable
Constructors
| Name | Description |
|---|---|
| NCache(String) | Creates a new NCache instance and initialize cache with specified cache id. |
Properties
| Name | Description |
|---|---|
| CacheId | Get or set cache id |
Methods
| Name | Description |
|---|---|
| Dispose() | Releases all resources. |
| GetItem(String, out Object) | Tries to the get cached entry by key. |
| InsertCacheItem(String, DbResultItem, DbCommand) | Inserts Cache Item. |
| PutItem(String, DbResultItem, DbCommand, CachingOptions) | Adds the specified entry to the cache. |