Alex Rivera | Logout

How to work with Enums in Entity Framework?

Asked 2009-10-06T15:27:15.463
53

What is the best way to work with Enums in Entity Framework?

Remarks: I'm using EF 3 and Firebird.

Edit
Report

1 Answer

27

There is a somewhat better way to do it in EF 4. Unfortunately, it won't work in EF 1.

Here's another approach.

Update: Real enum support was added in the June 2011 EF CTP.

answered 2009-10-09T13:17:25.177

Your Answer