With the current state of features/fixes in NH, I find it very hard for me to avoid using Trunk version. Using it for a couple of production applications still currently evolving, updating every 1-3 weeks depending on active development. Works with no issues so far.
-- Mohamed Meligy Senior Developer, Team Lead Backup (.Net Technologies - TDG - Applications) Injazat Data Systems P.O. Box: 8230 Abu Dhabi, UAE. Phone: +971 2 6992700 Direct: +971 2 4045385 Mobile: +971 50 2623624, +971 55 2017 621 E-mail: [email protected] Weblog: http://gurustop.net On Tue, May 18, 2010 at 10:26 PM, graphicsxp <[email protected]>wrote: > ha yes, thanks for the link. > I usually prefer using release versions. Is this a reliable version of > NH ? (there's no sarcasm here, just asking) > > On 18 mai, 18:26, "Richard Brown \(gmail\)" <[email protected]> > wrote: > > Should work in the trunk version: > > > > http://216.121.112.228/browse/NH-1989 > > > > -------------------------------------------------- > > From: "graphicsxp" <[email protected]> > > Sent: Tuesday, May 18, 2010 5:02 PM > > To: "nhusers" <[email protected]> > > Subject: [nhusers] Re: Future and caching. > > > > > > > > > > > > > up. > > > > > no one has an idea regarding this ? > > > > > On 12 mai, 22:48, graphicsxp <[email protected]> wrote: > > >> Hi, > > > > >> I'm trying to use the Future() method and it works fine except I don't > > >> know how to take advantage of caching with it : > > > > >> var countArt = criteriaCount.SetCacheable(true).SetProjection( > > >> Projections.Count(Projections.Id())).FutureValue<Int32>(); > > > > >> var results = criteria.SetFirstResult(page * pageSize) > > >> .SetMaxResults(pageSize) > > >> .SetCacheable(true) > > >> .Future<BuzzUserArt>(); > > > > >> count = countArt.Value; > > > > >> var all = new List<BuzzUserArt>(); > > >> foreach (var o in results) > > >> { > > >> all.Add((BuzzUserArt)o); > > >> } > > > > >> SetCacheable has no effect here, the database is always hit. > > > > >> I must point out that if I use a MultiCriteria query instead of > > >> Future, it works fine and SetCacheable does its job. But I just wanted > > >> to take advantage of this new function. > > > > >> Any clue ? > > > > >> -- > > >> 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]<nhusers%[email protected]> > . > > >> For more options, visit this group > > >> athttp://groups.google.com/group/nhusers?hl=en. > > > > > -- > > > 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]<nhusers%[email protected]> > . > > > For more options, visit this group at > > >http://groups.google.com/group/nhusers?hl=en. > > > > -- > > 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]<nhusers%[email protected]> > . > > For more options, visit this group athttp:// > groups.google.com/group/nhusers?hl=en. > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- 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.
