NPersistence Reference Guide
The Cache type exposes the following methods.
Methods
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Contains(Type, Object) | Whether the cache contains data for the given entity.
entity class primary key Return Valueboolean indicating whether the entity is in the cache |
![]() | Evict(Type) | Remove the data for entities of the specified class (and its
subclasses) from the cache.
entity class |
![]() | Evict(Type, Object) | Remove the data for the given entity from the cache.
entity class primary key |
![]() | EvictAll()()()() | Clear the cache.
|