EF 5 is used in MVC training application and ADO.Datamodel is created with two tables (Employee, Department).
Where to maintain Data annotation attributes like Required etc. I tried the below data annotation in auto generated department.cs, is working fine but after Update Model from database these annotation is gone. how to keep separate?
Thanks your suggestion.