Data Driver

Blog archive

ADO.NET Entity Framework Saga

A vocal group of ADO.NET Entity Framework testers that has issued a "vote of no-confidence" is illuminating a long-standing conflict between a segment of the .NET development community and Redmond. The petition raises a big question: Is there a storm brewing among developers of data-driven applications looking toward the latest iterations of the .NET Framework, or is this just a tempest in a teapot?

Ironically, I got wind of the protest on Tuesday while attending the Data Services World conference in New York, where none other than Michael Pizzo, a principal architect on Microsoft's data programmability team, was giving a session on LINQ, the Entity Framework and ADO.NET Data Services.

In his session, he demonstrated LINQ queries being used against the Entity Framework. "We expect [that] when you're using the Entity Framework and writing applications against the Entity Framework, LINQ will be the primary way you do that," he explained in an interview following his demo.

As for the online petition, Pizzo was unaware of it until I pointed it out to him (it was posted just this week). However, he said the discord comes from what he called a "vocal subgroup." Pizzo said the issues raised are under consideration for a future release.

"While we certainly take them seriously and are planning on addressing many of their concerns, specifically around persistence ignorance in the next release, we have a large number of customers who see value in the Entity Framework as it is in version 1," Pizzo said.

For his part, Tim Mallalieu, a Microsoft product manager, posted a detailed response to the no-confidence vote in his blog.

Not surprisingly, the controversy has generated a lot of buzz. OakLeaf Systems Principal Consultant Roger Jennings pointed out in his own blog that this vocal group is spearheaded by NHibernate proponents.

And today, Jennings pointed to a blog post by Ian Cooper, proponent of LINQ to SQL but an opponent to Entity Framework and a Microsoft MVP, who argued that this is history repeating itself (see circa 2000 when complexities around Enterprise Java Beans surfaced).

"EJBs were an ambitious attempt to support persistence, transactions, events, RPC, etc. in a single component," Cooper wrote in his blog. "While there was an initial rush to adoption, they quickly proved a millstone around the Java communities' neck, because of their complexity. Technologies like Spring and Hibernate emerged as less complex ways of delivering enterprise-class solutions. Many of them were later to be incorporated into drastically revised EJB visions."

Cooper believes the .NET community can learn from that. "Ports of Hibernate and Spring offered the community the chance to avoid the mistakes of the past," he added. "However, seemingly unaware of the lessons of history, the EF team embarked on a project to produce a complex framework, of which persistence is just one aspect, reminiscent of the EJB initiative."

Jennings described Cooper's assessment as a "level-headed critique of the Entity Framework v1."

So what's your take on this? Will this affect the choices you make as you embark on developing new data-driven apps using the Entity Framework and related technologies? Drop me a line at jschwartz@reddevnews.com.

Posted by Jeffrey Schwartz on 06/26/2008 at 4:01 PM


Reader Comments:

Tue, Jul 15, 2008 Burton Roberts Pittsburgh, PA

Usually I'd rather start a new project with the most current technology. However, the paradigm shift to EF is very big. And I'd hate to invest too much time and energy learning a complex new technology if it isn't going to catch on. Verdict: I'm sticking with datasets until I see v2 of EF and independent experts are singing it's praises. I can still have fun using LINQ in its other flavors.

Fri, Jun 27, 2008 Anonymous Anonymous

Cutting off Their Noses to Spite Their Faces
Open Letter
Dear EF Petitions,
I have read the online petition and don't know what you aim to gain from this? Complaining about whether implicit lazy loading and canonical shared models should be supported is ridiculous in a beta product. Although, your criticism was constructive creating a public forum is frankly "Cutting off your noses to spite your face ". I'm personally dismayed with the MVPs who signed, they should know better. Most of you have direct connections into the product team and can express these opinions directly to them. Why do this in public? I have a lot of friends in Microsoft not just because they are business colleagues but hard working individuals who have spent 11 hour days trying to create something unique. What if you were told your code is crap… see what I mean?
I think that you’re missing the point with the EF. Although it has issues, it’s the first issue. I would like to see of your code to see if you get it right first time.
The transparent approach announcement will prevent this type of thing happening again. If you have this press release why don’t you back down? Personal glory.. or just kicking the big guy?

Anonymous

Thu, Jun 26, 2008 Anonymous Anonymous

My blog post about Ian Cooper tried to make the point that he was an early proponent of LINQ to SQL and an opponent to Entity Framework.

I apologize if the post was confusing on this issue.

--rj

Add Your Comment:

Your Name:(optional)
Your Email:(optional)
Your Location:(optional)
Comment:
Please type the letters/numbers you see above