title: Data Annotations for validate an entity framework entity
body: <p>I used EF to create an entity.</p>
  
  <p>Now The user can input datas to the DB trough entity framework.</p>
  
  <p>I want to validate the object by using Data Annotations.</p>
  
  <p>The solution should be to create one object that inherits of all the EF methods and validate the field.</p>
  
  <p>So Do I have to redeclare all fields in the child class? or DO I have to redeclare the only class I want to validate?</p>
  
  <p>Thanks for helping me, I'm new in c# .net workd</p>