The sessionFactory provides the methods you want... from the 17.3 chapter of the Nbernate reference.
The sessionFactory provides the methods you want... from the 17.3 chapter of the Nbernate reference: To completely evict all objects from the session cache, call ISession.Clear() For the second-level cache, there are methods defined on ISessionFactory for evicting the cached state of an instance, entire class, collection instance or entire collection role. SessionFactory. Evict(typeof(Cat), catId); //evict a particular Cat sessionFactory.
Evict(typeof(Cat)); //evict all Cats sessionFactory. EvictCollection("Eg.Cat. Kittens", catId); //evict a particular collection of kittens sessionFactory.
EvictCollection("Eg.Cat. Kittens"); //evict all kitten collections.
14 Poor kittens... – Arnis L. Sep 16 '10 at 10:40 The role name here in the first parameter is the full Namespace+Classname+Propertyname of what you need to evict. You can see everything in cache by calling sessionFactory.
GetAllCollectionMetaData().Keys. – Emil Lerch Jun 18 at 14:39.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.