4
Answers

Entity Framework

Mohamed Sherif

Mohamed Sherif

11y
856
1
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)