castle activerecord - Avoid first level cache for an entity in NHibernate? -


I have a unit that is updated externally (triggers, using stored procedures) that means The unit can change in a single session without its knowledge, and it is necessary for me to always kill a database, and never use the unit from the first level cache.

Is it possible NHibernate (or indeed, the Castle Active Record)?

To disable a IStatelessSession first level cache in you < Using the code> ISession instead of

  (ISessionFactory sf = cfg.BuildSessionFactory ()) (iatatale session session = sf.OpenStatelessSession ()). }  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -