15 June 2010

EF vs Linq to SQL

There is a battle between LINQ to SQL and the (EF)Entity Framework. Some say that it is already settled and that LINQ to SQL is DOA, destined to be replaced by Entity Framework. Microsoft will continue to support L2S but will put more effort into the EF and the Linq to Sql shall be retired.Not the complete retairment but the scope is going to be limited.  The new term, I think, is LINQ to Entities (L2E). The entity framework is Microsoft's implementation of a full grown Object/Relation Mapper such as NHibernate already is. Linq to SQL on the other hand may have some similarities, but is not recognized (and will never be) as a full o/r m tool. It is however a quick and easy way for accessing relational data in a much better way than the classic ado.net and can be very suitable in small projects or applications. MSDN has an article comparing the two. I am currently evaluating the latest release of Entity Framework.I am trying in to dig in to EF more deeply and keep posting my findings here.

1 comment:

Anonymous said...

I do agгeе with аll thе concepts
you've offered in your post. They'rе very cοnvincing and can certainly work.

Still, the posts are too quick for beginners. Could yοu ρlease prolong
thеm a little frοm subsequent tіme? Thanks
for the post.
My web page: webnode.com