Mohamed Sherif

Mohamed Sherif

  • NA
  • 15
  • 99.3k

Entity Framework

Sep 25 2013 5:00 AM
I m using Entity Framework in my mvc application.The entity framework has created data model of my Database.In my Model,I want to declare some attributes to my model properties.for Example(Display Name above my property).Now i make changes to Database model and if i update the model,those properties are gone.

Should I create another model with same properties or any other method to avoid this.Please suggest me a method to avoid this.


Thanks


Answers (4)