I am using VS 2012 and I face a strange problem.
When I delete all tables in the .edmx
file and then update model from database and add all of tables back, one of my tables is not updated!
I was working on my project perfectly. I faced the problem when I made some changes in the database. However I always made changes in my database and before last time, everything was OK!
What is reason and solution?
Most probably the problem is that table in database have no primary key defined. Just create the one and the problem will be solved.