Hi
You lost me. There is no issue with my tables and their relationships.
Here is something similar to what I'm trying:-
var customerQuery = from c in _mgr.EntityManager.Customers
.Where(c => c.Country == "UK")
.Include("Orders")
select c;
var opCustomers = customerQuery.ExecuteAsync();
opCustomers.Completed += OpCustomersCompleted;
This gives all the Orders for every customer in the UK. I want every customer but for their orders, I only want open orders.
So something like this (but obviously this doesn't work) :-
var customerQuery = from c in _mgr.EntityManager.Customers
.Where(c => c.Country == "UK")
.Include("Orders").Where(o => o.IsOpen)
select c;
kr
George