NPersistence Reference Guide

The Cache type exposes the following methods.





 XNA Framework Only

 .NET Compact Framework Only

Contains(Type, Object)
Whether the cache contains data for the given entity. entity class primary key

Return Value

boolean indicating whether the entity is in the cache
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
Clear the cache.

See Also