You can specify the 'Cache Policy
' for each persistent type to control whether and how the instance of this type are cached. This can be done by selecting the class on the designer surface, pressing F4 to get the property window for this class and specifying the property value there. Note that this setting applies to only the second level cache. All objects will always be cached in the first level cache.
The only property you can set on the second level cache is the number of objects per query result. The 'SecondLevelCacheConfiguration
' type defines the properties that can be specified.
The second level cache uses the 'Least Recently Used' algorithm to evict instances when the cache is full ie the oldest objects are evicted first.
Hope this helps. Do get back in case you need further assistance.
the Telerik team
OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff