DataBackingStore Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DataBackingStore type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add | This method is responsible for adding a CacheItem to the BackingStore. This operation must be successful even if an item with the same key already exists. This method must also meet the exception safety guarantee and make sure that all traces of the new or old item are gone if the add fails in any way. |
|
AddNewItem |
Adds new item to persistence store
(Overrides BaseBackingStore.AddNewItem(Int32, CacheItem).) |
|
Dispose | Overloaded. | |
Equals | (Inherited from Object.) | |
Finalize |
Finalizer for BaseBackingStore
(Inherited from BaseBackingStore.) |
|
Flush |
Flushes all CacheItems from database. If an exception is thrown during the flush, the database is left unchanged.
(Overrides BaseBackingStore.Flush().) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Load |
Loads all CacheItems from underlying persistence mechanism.
(Inherited from BaseBackingStore.) |
|
LoadDataFromStore |
Loads data from persistence store.
(Overrides BaseBackingStore.LoadDataFromStore().) |
|
MemberwiseClone | (Inherited from Object.) | |
Remove | Overloaded. | |
RemoveOldItem |
Removed existing item stored in persistence store with same key as new item
(Overrides BaseBackingStore.RemoveOldItem(Int32).) |
|
ToString | (Inherited from Object.) | |
UpdateLastAccessedTime | Overloaded. |
Properties
Name | Description | |
---|---|---|
Count |
Returns number of items stored in database
(Overrides BaseBackingStore.Count.) |
See Also
Microsoft.Practices.EnterpriseLibrary.Caching.Database Namespace
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |