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

MemoryCacheLevel.Weak Field

Constant for weak caching This cache model is probably the best choice in most cases. It will increase performance for popular results, but it will absolutely release the memory to be used in allocating other objects, assuming that the results are not currently in use. References an object while still allowing it to be garbage collected.

[Visual Basic]
Public Shared Weak As MemoryCacheLevel
[C#]
public static Weak Weak;

See Also

MemoryCacheLevel Class | IBatisNet.DataMapper.Configuration.Cache.Memory Namespace