Sunday, 7 August 2016

How we will Update Existing Entity Data Model in MVC5

Why you need to update Data Entity Model??

Suppose you added few new column in your tables. And if you want to show them in your MVC Application Class then you need to Update Entity data Model. If you will not update Entity Model,  new columns will not reflect there.

How to Update Data Entity Model ?? 

Double Click on Entity data model, see below image


Right Click on Entity Model Page > Update Model From Databse

Then Goto Refresh> Select Table > Finish


Now new column will reflect automatically in your class.


No comments:

Post a Comment