I’m using entity framewrok 4.3 in order to display tables from the database in a WPF DataGrid control.
I’m using generic in order to represent EntityObject.
Some ObjectEntities hold related object and I want to display also the related objects properties.
This code I’m using returns QueryObject
context.CreateObjectSet().Include(“RelatedObjectTable”)
This code display only the type of the related object.
In the xaml, I’m using the DataGrid property AutoGenerateColumns =”True” and I want to keep this way.
How can I display the related object properties?
Thanks
I solved this issue by using ASP.NET Dynamic Data Entities Web Application.
It is a project that give a nice wizard to build a web project which reflect the
database.