use IQuery.SetCacheMode(CacheMode cacheMode)The multiQuery are working with an partial concept about override the session cache mode. Please create a new JIRA ticket (Improvement in MultiQuery) with the inconsistence. Thanks.
2009/2/11 Dhar <[email protected]> > > Hi.. > > I am trying to migrate from 1.2 to 2.0.1.4000. I am getting > compilation error > > using (Repository rep = new Repository()) > { > IQuery iqry = rep.Session.CreateQuery > (hql); > > iqry.SetForceCacheRefresh(true); > } > > > 'NHibernate.IQuery' does not contain a definition for > 'SetForceCacheRefresh' > > I looked IQuery in the reflector, i was not able to find this method. > But i was able to find SetForceCacheRefresh in IMultiQuery. > > Any suggestion? > > nHibernate.dll Version 2.0.1.4000 > size: 1.56 MB (1,638,400 bytes) > > Reference: http://nhforge.org/doc/nh/en/index.html#performance-querycache > 16.4. The Query Cache > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
