title: Add data annotations to members in derived class
body: <p>I've got a solution which is composed out of several projects. One of these projects is a container for POCO objects, shared between all the other projects. Because the objects need to be compatible with Windows Phone, Silverlight, Windows Apps, etc. it's created as a shared library with only a subset of references. </p>
  
  <p>I want to re-use these objects for a code-first implementation of a database model, which requires I add data annotation attributes to the members. But the data annotation namespace is not contained in the reference subset. </p>
  
  <p>So I thought I'd create derived classes in my service API project, to add the data annotations there. But I'm not quite sure how to do this or if it even can be done. </p>
  
  <p>So I'm looking for some ideas, maybe best practices. Of course I could create new models and use a mapping technique to get data from one to the other, but when they're 100% equal that sounds a bit foolish.</p>