title: how to get data annotation attributes from properties
body: <p>I am trying to build a grid, using class info and its properties along with the supported dataannotion attributes.</p>
  
  <p>Class and annotations might be defined in different classes, like  (Product and ProductMetaData classes) and tied togather with the metadatatype attribute, (might also be defined in a single class).</p>
  
  <p>Would this make the DataAnnotaion attributes available in the base class itself or are there other means of getting the dataannotation attributes?</p>
  
  <p>Any sample code that you can link, would also be very helpful.</p>
  
  <p>thanks.</p>