Provides a in-memory, write-through cache for data loaded from a DataConnector.
| C# | Visual Basic | Visual C++ |
public class DataCache
Public Class DataCache
public ref class DataCache
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DataCache(DataConnector) |
Initializes a new instance of the DataCache class.
| |
| Columns |
Gets the cached data columns.
| |
| Connector |
Gets the connector this cache is associated with.
| |
| CreateCopy()()() |
Creates a deep copy of this data cache.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Load()()() |
Loads the data from the associated Connector (see LoadData(ColumnCollection%, RowCollection%)).
| |
| LoadColumns()()() |
Loads the columns from the associated Connector (see LoadColumns(ColumnCollection%)).
| |
| Loaded |
Gets a value indicating whether that data has already been loaded from
the connector once.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Rows |
Gets the cached data rows.
| |
| Store()()() |
Stores the data to the associated Connector (see StoreData(ColumnCollection, RowCollection)).
| |
| ToString()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| DataCache | |
