Coding Sanity

.NET development and technology thoughts
posts - 51, comments - 30, trackbacks - 0

Mind completely blown by Entity Framework

Another vehicle with no wheelsMind exploding in horrorEntity Framework does not support enums.

Let that sink in for a bit. Enums, not some newfangled programming methodology like lambdas. Enums. Entity. Framework. Doesn’t. Support. Enums. Even in .NET 4.0.

Sorry, MS, did you say this system was an ORM or an April Fools Joke?


There is a fairly complex workaround by Joachim Anderson at DevTalk that requires the creation of custom wrapper classes for each enum type. For your POCO classes.

Have shut down Visual Studio in disgust, and am considering tossing Entity Framework. Again. Because MS just don’t seem to have the slightest grasp of what’s important for an ORM. Again. The impedance mismatch between Entity Framework and a real ORM is just too high. Again.

Maybe I should go sign that Vote of No Confidence thing again.

Print | posted on Thursday, September 09, 2010 6:53 AM | Filed Under [ Technology Microsoft! ]



# re: Mind completely blown by Entity Framework

PS. I DO actually know that lambdas have been around for a while in some other languages, but they haven't in .NET.
9/9/2010 8:22 AM | Sean Hederman

Post Comment

Please add 4 and 8 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET