iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

CacheModel.Item Property

Adds an item with the specified key and value into cached data. Gets a cached object with the specified key.

[Visual Basic]
Public Default Property Item( _
   ByVal CacheKey As CacheKey _
) As 
[C#]
public Object this[
   CacheKey key
] {get; set;}

Property Value

The cached object or null

Remarks

A side effect of this method is that is may clear the cache if it has not been cleared in the flushInterval.

See Also

CacheModel Class | IBatisNet.DataMapper.Configuration.Cache Namespace