Topic: Data Scaffolding using ASP.NET Dynamic Data
We have received many reports from people usng the RTM release of Dynamic Data encountering some errors when using it with Entity Framework. This problem occurs with certain types of data relationships and typically generates an error that looks similar to: "A property with name 'XX.Id' does not exist in metadata for entity type 'XX.XX.XXXX'. An update to .NET 3.5 SP1 has been released that corrects these issues, please see KB959209 which contains the update. Here is a direct link to the knowledge base article: http://support.microsoft.com/kb/959209.
COMMON LIMITATIONS AND WORKAROUNDS:
There are some known differences when working with Entity Framework verses Linq to SQL. This blog post contains some common issues: http://blogs.msdn.com/aspnetue/archive/2008/09/10/differences-when-working-with-the-ado-net-entity-framework-to-linq-to-sql.aspx
Entity Framwork samples posted. We have posted some Entity Framework samples on the Dynamic Data samples page: http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14473. There is a general scaffold sample that shows how to hide the autogenerated primary keys. There is also a sample showing how to use Dynamic Data and Entity Framework in an existing application