title: Entity Framework - how do I get the columns?
body: <p>I wish to get a list of columns names, types and whether the column is a PK of a table object in Entity Framework.</p>
  
  <p>How do I do this in C# (4.0) (ideally generically)?</p>
  
  <p>The winning answer will be one that does it efficiently and most importantly generically.</p>