There is a link already. He got orders from customer (from o in *c*.Orders, *c* is got by from *c* in customers).
I don't think you can, but give it a try anyway. IF it doesn't work maybe you can do it the other way around. Query on orders and then select o.Customer. *Mohamed Meligy *Readify | Senior Developer M:*+61 451 835006* | W: www.readify.net [image: Description: Description: Description: Description: rss_16]<http://gurustop.net/> [image: Description: Description: Description: Description: cid:[email protected]] <http://www.linkedin.com/in/meligy> [image: Description: Description: Description: Description: cid:[email protected]] <http://twitter.com/meligy> * * <http://www.greatplacetowork.com.au/best/best-companies-australia.php> On Thu, Sep 16, 2010 at 4:20 PM, Sujith <[email protected]> wrote: > I think you require a link between customers and orders > > On Sep 16, 6:43 am, 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]<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.
