I am using entity Database First Entity framework. I have generated my EDMX file in visual studio, as well as the objects (in Model.tt)
I have 1 table (in this example)
Users:
Username varchar
Password varchar
Email varchar
I then added a new column "LastLoggedIn" in my database via SQL manager. So my table now looks like:
Users:
Username varchar
Password varchar
Email varchar
LastLoggedIn DateTime
I then clicked on Model.edmx file and ran the Update Model from Database. The Table was updated in the EDMX diagram, however the code (in the model.tt - users.cs) file did not update.
How do I force the objects to update after the EDMX diagram has been updated?