Why does updating existing tables with the Entity Framework tool always lead to errors?

Adding new tables using right-click on the chart β†’ Refresh model from database .

BUT, updating existing tables is not performed. I get this error:

Error 5: The element 'Principal' in namespace 'http://schemas.microsoft.com/ado/2008/09/edm' has incomplete content. List of possible elements expected: 'PropertyRef' in namespace 'http://schemas.microsoft.com/ado/2008/09/edm'. 

For updated existing tables, I:

  • remove them from edmx
  • right click on the mouse -> Update model from database and checking these tables
+4
source share

All Articles