Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using MVC3, in that i have used entity framework, i have added .edmx file for database operation. I have to apply validation on properties, i have added [Requeired(message="field value is require)] attribute to the property in designer.cs but the problem is that when i refresh my .edmx file all validations are erased, so what should i do this for that?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900