| SqlDictionaryTValue Class |
Namespace: SandcastleBuilder.Components
public sealed class SqlDictionary<TValue> : IDictionary<string, TValue>, ICollection<KeyValuePair<string, TValue>>, IEnumerable<KeyValuePair<string, TValue>>, IEnumerable, IDisposable
The SqlDictionaryTValue type exposes the following members.
| Name | Description | |
|---|---|---|
| SqlDictionaryTValue(String, String, String, String) |
Simple dictionary constructor
| |
| SqlDictionaryTValue(String, String, String, String, String, String) |
Grouped dictionary constructor
|
| Name | Description | |
|---|---|---|
| Add(KeyValuePairString, TValue) | Adds an item to the ICollectionT. | |
| Add(String, TValue) | Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
| Clear | Removes all items from the ICollectionT. | |
| Contains | Determines whether the ICollectionT contains a specific value. | |
| ContainsKey | Determines whether the IDictionaryTKey, TValue contains an element with the specified key. | |
| CopyTo | ||
| Dispose |
Dispose of the SQL dictionary
| |
| Equals | (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Purge |
This is used to purge all data from the dictionary
| |
| Remove(KeyValuePairString, TValue) | Removes the first occurrence of a specific object from the ICollectionT. | |
| Remove(String) | Removes the element with the specified key from the IDictionaryTKey, TValue. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetValue | Gets the value associated with the specified key. |
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT. | |
| CurrentLocalCacheCount |
This read-only property returns the current number of local cache entries in use
| |
| GroupId |
This read-only property returns the group ID
| |
| IsDisposed |
This read-only property returns whether or not the cache has been disposed of
| |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. | |
| Item | Gets or sets the element with the specified key. | |
| Keys | Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue. | |
| LocalCacheFlushCount |
This read-only property returns the number of times the local cache was flushed because it filled up
| |
| LocalCacheSize |
Set this to a non-zero value to enable local caching of values to speed up read-only access
| |
| Values | Gets an ICollectionT containing the values in the IDictionaryTKey, TValue. |