Just enjoyed a great session at TechEd “Microsoft ADO.NET Entity Framework 4 and Beyond: Building Real World Applications” presented by Jeff Derstadt (@jeffders) and Jonathan Aneja. Lots of cool stuff, great story of a real world upgrade from windows forms with datasets to Entity Framework and WPF, but it was the last 10 minutes of the session that had me running to my computer to blog! The next version of the Entity Framework will have full enum support . Just imagine simple things like writing a LINQ query which filters based on the enum value, instead of specifying “where rating = 1” and having to remember what exactly the number “1” maps to we’ll be able to write “where rating = ‘Awesome’”. Code will be more readable, more maintainable, easier to write, there will be peace throughout the land and no more world hunger. Okay maybe not those last two, but suffice to say this is good news for .NET developers. It is also a great reminder that the product teams do listen to you. Enum support was the most requested feature for the Entity Framework. They heard you, and they did it! Another feature you don’t want to overlook in the next version is support for Table Valued Functions. The Entity Framework team made me a happy camper today so this time My 5 is all about the Entity Framework!
My 5 Places to learn more about Entity Framework