I've reverted to a datareader for this :(

will take a look later - thanks for the pointers guys...

On Aug 28, 2:36 pm, mitirino <[email protected]> wrote:
> This is from the NHibernate manual (11.4. The select clause). There
> may be other way too...
>
> 11.4. The select clause
> ....
>
> or as an actual typesafe object
>
> select new Family(mother, mate, offspr)
> from Eg.DomesticCat as mother
> join mother.Mate as mate
> left join mother.Kittens as offspr
>
> assuming that the class Family has an appropriate constructor.
>
> On Aug 28, 9:19 am, "[email protected]"
>
> <[email protected]> wrote:
> > with CreateSqlQuery can the results be mapped to an entity that
> > doesn't reflect a table in the db?
>
> > On Aug 28, 2:13 pm, Tuna Toksoz <[email protected]> wrote:
>
> > > you mean .CreateSqlQuery, then?
>
> > > Tuna Toksöz
> > > Eternal sunshine of the open source mind.
>
> > >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt...
>
> > > On Fri, Aug 28, 2009 at 3:40 PM, [email protected] <
>
> > > [email protected]> wrote:
> > > > ly - this maps the results to a set of entities already mapped :- Hide 
> > > > quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to