Here’s the solution to the:
A property with name ‘[table].[column]” does not exist in metadata for entity type ‘[type]’.
issue in ASP.NET Dynamic Data. The links are generated incorrectly for associated records. This provider fixes that:
The RTM release of Dynamic Data has trouble with some data relationships in Entity Framework data models. This workaround provides a fix for 1->0..1 and *->1 relationships which may generate error messages like “‘System.Web.UI.WebControls.EntityDataSourceWrapper’ does not contain a property with the name ‘Orders.OrderID’”. This fix replaces the default Entity Framwork Data Model provider for Dynamic Data with a new data model provider that works around these issues. Follow the steps below to apply this fix to either a “Dynamic Data Entities Website” or a “Dynamic Data Entities Web Application”. Please report any problems with this fix to the Dynamic Data Forum on ASP.NET (http://forums.asp.net/1145.aspx)