Method LoadFromSource
LoadFromSource(String)
Responsible for loading the object from the data source.
Declaration
public ProviderCacheItem LoadFromSource(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key of object is Passed as Parameter. |
Returns
Type | Description |
---|---|
ProviderCacheItem | ProviderCacheItem is just like a CacheItem , but it has some limited fields. |
LoadFromSource(ICollection<String>)
Responsible for loading array of objects from the data source.
Declaration
public IDictionary<string, ProviderCacheItem> LoadFromSource(ICollection<string> keys)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.String> | keys | Collection of keys for for retreiving multiple objects. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, ProviderCacheItem> | Dictionary having Keys and ProviderCacheItems. |