In Entity Framework, how do you interact with enums?

.net entity-framework enums

Question

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

Remarks: I'm using EF 3 and Firebird.

1
53
10/6/2012 2:18:12 PM

Popular Answer

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.

27
7/11/2011 7:27:03 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow