Entity Framework - mapping Enum type to column

  • Thread starter Thread starter H5N1
  • Start date Start date
EF Faq (http://blogs.msdn.com/dsimmons/pages/ef-faq-entity-
services.aspx) states that automatic mapping of enum type to column
isn't possible. Are there any workarounds? Manually adding additional
property that converts another Int property to given enum type, or
something more subtle?

that's basically the way I've decided to address it... I recently posted
a blog about this (it's a really small blog mostly intended for our
internal developers)... See the post at
http://cticoder.wordpress.com/2008/08/16/using-enums-with-entity-framework/
to see the details.

-mdb
 
Back
Top