Entity Framework: Removing tables from model

  • Thread starter Thread starter Ralf Kaiser
  • Start date Start date
R

Ralf Kaiser

Hello,

whn i hav some tables in my model and delete one of them in the entity
designer the table is deleted from the GUI of the designer but it is still
in the model. When calling the dialog to add new tables the already deleted
table is still listed on the pages to update or delete tables. I have to
open the model as XML and remove all references to the table manually.

I have tried to cleanup and completely rebuild the solution in between. No
go. I have to remove the table by hand.

Has anyone else seen this??

Ciao,
Ralf
 
Ralf Kaiser said:
Has anyone else seen this??

Really no one has problems with removing specific tables from a model?

Could it be a problem with my installation?

Tnaks in advance,
Ralf
 
Ralf Kaiser said:
whn i hav some tables in my model and delete one of them in the entity
designer the table is deleted from the GUI of the designer but it is still
in the model. When calling the dialog to add new tables the already deleted
table is still listed on the pages to update or delete tables. I have to
open the model as XML and remove all references to the table manually.

Hi Ralf,

I have added a feature to my add-in toolkit for L2S and EF that makes this
cleanup easier. The first version enables you to remove orphaned SSDL, or to
recreate CSDL/MSL corresponding to the orphaned SSDL. More cleanup features
coming shortly.

This is described here
http://blog.huagati.com/res/index.p...ity-framework-designer-and-orphaned-entities/

(and there's a download link at the bottom of that article)

Best regards,
Kristofer
 
Back
Top