sessio.Query<Foo>() <-- and that's returns a queryable of Foo. then you can do whatever you want... if you are not familiar with Linq try with Linq 101 examples.
2010/10/20 Paulo Quicoli <[email protected]> > Hi friends... I'm trying on NH 3, it is FANTASTIC !!! > QueryOver feature is my lover now heheheheh but... as I'm doing a > presentation I have to introduce other search features. > > I didnt use Linq in NH 2.1, so, I'm outdated. How can I use Linq in version > 3 ? > > Someone could share a simple example? Thanks my friends! > > > > > -- > Paulo Quicoli > Editor Técnico: .NET Magazine, ClubeDelphi Magazine, WebMobile Magazine > www.devmedia.com.br > www.nhibernatebrasil.net > http://pauloquicoli.spaces.live.com > twitter:@pauloquicoli > > -- > 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.
