Hi Guys
Have been searching through the documentation but having trouble figuring this one out.
I have a Master table, say 'Baskets'. There is a many-to-many relationship to a Detail table 'Fruits'. Ie, Many Fruits exist in many Baskets. There is a field/property on the Fruits table called 'Color'.
What I want to do is get ALL Baskets that contain any fruit of color 'Red'.
What I want is something like:
EntityQuery<Baskets> query = mgr.Baskets.Where(p => p.Fruits.Color == 'Red')
However, the 'Color' property doesn't appear in the intellisense list after 'p => p.Fruits.' Instead, I only get a bunch of methods (eg p.Fruits.Single() or p.Fruits.Contains() instead of what I want which is p.Color). What am I missing here?
Thanks in advance,
Ben