How do I map a column to a complex type in EF4 using code first CTP5?
Having bumped into the of the lack of `enum` property support in Entity Framework 4 I discovered this article which describes a workaround:

>[Entity Framework 4.0 Beta 1 – POCO Enum support?][1]

How do I express the mapping of a database column to the `OrderStatusWrapper` (as described in the article) in code rather than in the designer?

  [1]: http://devtalk.dk/CommentView,guid,d5dccc2a-5723-49b4-97d1-bf759b7f592d.aspx
How do I map a column to a complex type in EF4 using code first CTP5?
===

Having bumped into the of the lack of `enum` property support in Entity Framework 4 I discovered this article which describes a workaround:

>[Entity Framework 4.0 Beta 1 – POCO Enum support?][1]

How do I express the mapping of a database column to the `OrderStatusWrapper` (as described in the article) in code rather than in the designer?

  [1]: http://devtalk.dk/CommentView,guid,d5dccc2a-5723-49b4-97d1-bf759b7f592d.aspx