Error updating model through database

Asked

Viewed 109 times

1

Hello,

I deleted a table in sql server, in visual studio 2015 I went to update the "update model from database" option, updated my change. But when saving EDMX all the entities(tables) of EDMX disappeared, as if they had deleted all of them. In Team Explorer it shows as if I deleted all.

If I use the "undo changes" option they go back to EDMX, but

Thanks in advance.

  • Already tried to close the VS and open again (EDMX is a bit buggy)

1 answer

1

I’ve had a similar bug.

My solution was the following, delete the tables of edmx, save and after that instead of giving an "update", go and add as new all entities again.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.