if you want names of customers with orders that have a price > 10,
try:

var temp = from c in customers
              where c.Orders.Count(o => o.Price > 10) > 0
              select c.Name

On Sep 15, 4:43 pm, Aaron Fischer <[email protected]> wrote:
> Is this possible with the current nhibernate 3 linq provider
>
> var temp = from c in customers
>                    from o in c.Orders
>                    where
>                    o.Price > 10
>                    select
>                    c.Name

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