in NH. var items = session.CreateSqlQuery(THESQL) .SetresultTransformer(I_dont_remember_I_think_its_AliasToBeanResultTransformer) .List<TheDto>();
RenderText( yourJsonFormatter(items) ) On Wed, Jan 14, 2009 at 7:09 PM, Wayne Douglas <wa...@codingvista.com>wrote: > projections in NHIbernate or LLBLGEN? > I've used projections in LLBLGEN before but I'm trying to get into NH > > Cheers > > :) > > w:// > > 2009/1/14 Victor Kornov <wee...@gmail.com> > > Look for Projections >> >> On Wed, Jan 14, 2009 at 8:00 PM, Wayne Douglas <wa...@codingvista.com>wrote: >> >>> Normally I'd use LLBLGEN to grab the data into a more reasonable object >>> and then serialize that - I'm trying to use NHibernate here as much as I can >>> but a bit pressed for time to get a prototype out the door :s >>> >> >> >> >> > > > > -- Ken Egozi. http://www.kenegozi.com/blog http://www.delver.com http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---