Couple days ago I started a simple application (WCF Web service using Entity Framework to access a SQL DB and a WPF client).In the SQL database I had 3 tables - mainly a many-to-many relation.Now I need to get more data: I want to obtain all the Products and for each Product to get the details : from ProductInventory (which is related to Product) and from Location (which is related to ProductInventory) tables.On the server side I am using twice the Include method and that's it ! So simple and clean !
You can see how it looks on the client side.And below you can donwload the source code.