you should use <import> not to "present" your class to NH.

2009/3/13 NHibernator <[email protected]>

>
> Is it possible to do dynamic instantiation like:
>
> select new ItemRow (item.Id, item.Description)
> from Item item join item.Bids bid
> where bid.Amound > 100
>
> I've coded the ItemRow class, with a constructor that takes Id and
> Description. But NHibernate says it doesnt know ItemRow.
>
> Is this even possible with NHibernate?
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to