Share via


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
Public method 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.

(Inherited from BaseBackingStore.)
Protected method AddNewItem
Adds new item to persistence store
(Overrides BaseBackingStore.AddNewItem(Int32, CacheItem).)
Public method Dispose Overloaded.
Public method Equals (Inherited from Object.)
Protected method Finalize
Finalizer for BaseBackingStore
(Inherited from BaseBackingStore.)
Public method Flush
Flushes all CacheItems from database. If an exception is thrown during the flush, the database is left unchanged.
(Overrides BaseBackingStore.Flush().)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Load
Loads all CacheItems from underlying persistence mechanism.
(Inherited from BaseBackingStore.)
Protected method LoadDataFromStore
Loads data from persistence store.
(Overrides BaseBackingStore.LoadDataFromStore().)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Overloaded.
Protected method RemoveOldItem
Removed existing item stored in persistence store with same key as new item
(Overrides BaseBackingStore.RemoveOldItem(Int32).)
Public method ToString (Inherited from Object.)
Public method UpdateLastAccessedTime Overloaded.

Properties

  Name Description
Public property Count
Returns number of items stored in database
(Overrides BaseBackingStore.Count.)

See Also

DataBackingStore Class

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.