NPersistence Reference Guide
Access the cache that is associated with the entity manager factory (the "second level cache").

Return Value

instance of the Cache interface if the entity manager factory has been closed

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
Cache GetCache()

See Also