Vote of Confidence for Entity Framework 4?
Microsoft's data access strategy is built around Entity Framework, but is the .NET community on-board?
I talked with developers about latest version of the controversial framework, dubbed EF4, for the September cover story of Visual Studio Magazine.
Remember the ADO.NET Entity Framework Vote of No Confidence before EF1 was even released? That fervor has quieted down as Microsoft addresses some of the issues raised by the petitioners.
In EF4, Microsoft adds support for Plain Old CLR Objects (POCO) templates in VS2010 enabling persistence ignorance, lazy loading and better testing. All among the missing in the vote-of-no-confidence letter to Microsoft signed by 871 people in the summer of 2008.
Dane Morgridge, a Microsoft MVP for Data Platforms, wrote a technical sidebar for the cover story that explains how to use the new POCO templates.
"POCO support in Entity Framework 4 opens up the possibilities for architecting with repositories, if that's what you want to do, and doing unit testing and really building applications where you can have a good separation of concerns, which is really important when you're architecting large applications," says Julie Lerman, an independent .NET consultant who specializes in data platforms.
I was lucky to catch up with Julie Lerman, considered by many the expert on EF outside of Microsoft, and get her take on the second generation framework for the cover story, as she wrapped up the second edition of her book, Programming Entity Framework.
"It wasn't a simple revision, I spent a year writing it," says Lerman. "I thought second edition, no big deal--it took a year." The book is updated to cover Entity Framework 4, .NET Framework 4 and Visual Studio 2010.
You may be in luck. A discount on the e-book edition was slated as a one-day special on August 30, but the code was still working earlier today. You can get the e-book for $9.99 as a special deal from the publisher O'Reilly by entering the discount code DDPEF.
Lerman shared other discount codes and options in her blog on Monday.
Read the cover story "Get Ready for the Entity Framework" here.
What's your take on Microsoft's data access strategy? Are you still writing your own data access code? Express your thoughts on LINQ, Entity Framework and n-tier architectures. Drop me a line at krichards@1105media.com.
Posted by Kathleen Richards on 08/31/2010 at 3:25 PM