This works as expected. but SessionFactory.Evict(type) not working as expect" /> This works as expected. but SessionFactory.Evict(type) not working as expect" /> This works as expected. but SessionFactory.Evict(type) not working as expect"/>

nHibernate: SessionFactory.Evict(type) not working as expected

18 Views Asked by At
<syscache>
<cache region="MyCacheRegion" expiration="600" priority="1" />

This works as expected. but SessionFactory.Evict(type) not working as expected. So after 10 minutes cache ( 2nd level) is cleared but if I need to clear cache when needed I before that I am not able to do it. What can be the reason? Is there a way to programmatically achieve what is mention in syscahe config?

0

There are 0 best solutions below