0
Whenever I do: UPDATE MODEL FROM DATABASE on top of my edmx file, it does everything right, including shows the table to be updated or the fields. It doesn’t make any mistakes, it acts as if everything is fine. But when I finish, it doesn’t change anything. Everything is as before. Does anyone know why? Usage EF 6.1, VS 2012 and Sql Server 2008.
Open your . edmx removes all tables and adds again.
– PauloHDSousa
No . edmx you remove the tables, then add again.
– PauloHDSousa
edmx has four files. Context.tt, Designer.Cs, edmx.tt and edmx.diagram. Do you say delete which ones? There is no dependency between them?
– pnet
Open the . edmx with Visual studio. edmx.Diagram if I’m not mistaken
– PauloHDSousa
I have deleted edmx all and remade again. I have done so, but it should not be necessary.
– pnet
I don’t trust the Entity update, always remove the designer’s tables and add again.
– PauloHDSousa