Update model of entity framework in MVC

Total Post:4

Points:28
C#
 624  View(s)
Ratings:
Rate this:

Hi Expert,

I am using Entity Framework in MVC, and I update some fields in my database. But I am not able to update my model. Please give me some suggestion.

  1. Post:44

    Points:310
    Re: Update model of entity framework in MVC

    Hi Shaan,

    Please follow below instruction to update your model,

    Step (1). Please find your project 'edmx' file.

    Step (2). Now open your 'edmx' file.

    Step (3). Right click on ER Diagram, and select 'Update model from 'database'.

    Step (4). Now save your project.

    Your model is updated.

    I hope its informative...

      Modified On Dec-18-2017 03:02:41 AM

Answer