I like the idea of using the data annotations to specify validation of fields within the Model. However in EF I notice that it wants to implement this at DB level ie [Required] becomes a “not null” field. Is it possible to just have the application apply this validation without changing the database?
Thanks,
Ed
What you can do is to use a separate view model for the views and separate entity classes for the database. And you can map those objects using a library like auto mapper.