I am testing queries using the new LINQ to NHibernate provider from 3.0 following Mike Hadlow's examples:
http://mikehadlow.blogspot.com/2010/08/nhibernate-linq-eager-fetching.html His final example is: var customers = session.Query<Customer>() .FetchMany(c => c.Orders) .ThenFetchMany(o => o.OrderLines).ToList(); How would I add a Where condition to this LINQ query to allow me to retrieve Customers who had placed orders for Product.Id = 123? -- 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.
