views:

581

answers:

5

I've noticed that there seems to be quite a bit of hostility towards Linq To Entities particularly from the Alt.Net folks. I understand the resistance to more "drag and drop" programming, but from my understanding, Linq To Entities doesn't require it.

We're currently using Linq to SQL, and we are using the DBML document to define it (once you get more than a dozen or so tables, the designer is pretty useless.)

So why wouldn't the same approach work for Linq To Entities?

+1  A: 

I don't think it's a hate for the idea of it per se. It's just that people don't like the implementation of it.

http://efvote.wufoo.com/forms/ado-net-entity-framework-vote-of-no-confidence/

IainMH
+3  A: 

Actually, once you start delving into it, LTE is completely useless for enterprise level frameworks. The fact that there is very little inheritance support (in LTS as well) makes for a lot of redundant code. Also, I will be moving back to LTS (Linq to SQL) because it actually allows you to define mappings via Attributes instead of a File. LTE only works with an external file.

+1  A: 

I am quite sold on the priciples of Linq to Entities, and the Entity Framework in general, but I do have reservations about its current incarnation. I do freely admit to not having used it in anything more than a self-educational and very small way, though. The level of flexibility doesn't seem to be there yet but I'm sure it will come. I was told by one of the MS technology evangelists (great job title) that EF was the MS strategic choice for the future. Assuming this is the case, I can only see things getting better in this arena.

ZombieSheep
A: 

There might also be a bit of "second place" animosity as well. MS are very late to market with L2E, I myself became interested in ORM about three years ago or so and MS was nowhere to be seen at this point.

A lot of us have already spent the time learning another ORM (such as NHibernate) and are used to a certain level and type of functionality being available and I this isn't evident in L2E yet.

This "second place" animosity isn't old news to be honest I don't know why MS don't spend more time supporting solutions already in place, we've seen this all before with NAnt -> MSBuild and NUnit -> MsTest, it would save everyone a lot of time and effort if they just accepted one of the better and mature solutions and endeavoured to support that as opposed to brewing their own all the time.

Quibblesome
+1  A: 

The Linq to Entity hate is much deserved. This product fails any purpose more complex then the lame demos GU uses it for on his blog. EF is far from ready for prime time. Microsoft just can't get data correct in the .BLOAT world they seem to changes data paradigm every time the wind blows. FoxPro has been around for 20 years with the same basic data core. Given SQL Server uses much of VFP data technology perhaps MSFT could learn a bit about manipulating data and data centric languages from something that worked.