Topic:   Data Scaffolding using ASP.NET Dynamic Data
Jan 30, 2021 13:59 1 Replies 696 Views ALLINO

SSUES: 

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

SAMPLES:

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

Prev Next
Topic Replies (1)
  1. 1
    idnkx user

    PARTH

    You need to download the update for the .NET Framework 3.5 Service Pack 1 from the Microsoft support website and the issues will be resolved after that.

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect