title: Entity Framework 5 Enums with Description attribute using Database First
body: <p>I would like to something like this:</p>
  
  <pre><code>public enum States
  {
      California,
      [Description("New Mexico")]
      NewMexico,
      [Description("New York")]
      NewYork,
      [Description("South Carolina")]
      SouthCarolina,
      Tennessee,
      Washington
  }
  </code></pre>
  
  <p>So that when I'm making a Drop Down List using .NET MVC I can use spaces in my names. If I used Code First then I could do this but I am using Database First and the .edmx designer doesn't allow attributes on the generated states (as far as I know!). Any ideas on how I can do this? I am using .NET 4.5 and EF 5 beta.</p>