Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 17, 2008 03:48 PM by HansBrrix
Nov 17, 2008 03:38 PM|LINK
Moved by moderator XIII: This question's more related to the designer of Visual Studio 2008. Questions about Entity Framework itself should be posted into the Data Access forum:
I am having a problem creating an Entity Data Model using Visual Studio 2008. To reproduce...
Create a new data model.
Added some tables by selecting Update Model from Database.
Look in the Model Browser, tables are added under Entity Types.
Delete one of the tables, the table is gone from Entity Types but is still in the Model Store under Tables/Views
Now, when I select Update Model from Database, I can't see the table I previously deleted.
How do I add the deleted table again, using either Update Model from Database, or any other method?
Nov 17, 2008 03:45 PM|LINK
Right-Click on the model design surface and select Update Model from Database and that should do it for you.
Nov 17, 2008 03:48 PM|LINK
Ok, found my answer... It's an outstanding issue being discussed here...
Seems like the only way to do it at the minute is to edit the xml and delete the entity by hand.