How can I force NHibernate to hit the database when querying for an entity?
Posted
by Chris Holmes
on Stack Overflow
See other posts from Stack Overflow
or by Chris Holmes
Published on 2010-03-26T21:15:36Z
Indexed on
2010/03/26
21:23 UTC
Read the original article
Hit count: 215
nhibernate
I have a situation where I need NHibernate to ignore its caches and just hit the database because the data has changed (another user on another computer has changed the data). How is this possible? So far I have had no luck. Get, Load, Linq query, doesn't matter. NHibernate is not getting the most recent data.
© Stack Overflow or respective owner