I am not sure I understand how EvictCollection works. In the documents
there is this example.
sessionFactory.EvictCollection("Eg.Cat.Kittens", catId); //evict a
particular collection of kittens
1. Let's say I have Cat, that has a two collections of Kittens named
WhiteKittens and BlackKittens. Will it remove both from second level
cache
2. What if I have two object of different type with a same id (BigCat
and SmallCat) with id of 100 and both have collection of Kittens. What
will be removed from second level cache.
3. Is this catId acutally supposed to be instance of the object that
has a collection, rather than id of the object?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.