Linq to SQL

Linq to SQL

Old forum URL: forums.lhotka.net/forums/t/5718.aspx


sergeyb posted on Saturday, November 01, 2008

I just read this post from ADO.NET program manager and I wanted to share it with everyone.

 

Sergey

ajj3085 replied on Monday, November 03, 2008

So it seems pretty clear; L2S is on the way out.  It's a shame.. I haven't looked at EF so far, but it sounds a lot more complicated than L2S.  And I just finished replacing my custom ORM with L2S.  *sigh*

sergeyb replied on Monday, November 03, 2008

I do not think that EF is much harder than L2S, at least not for common tasks and 1-1 table to class implementation, or even parent-child list-grandchild list scenarios.  It becomes a problem when your DB does not correspond directly to classes (you are constructing a class from data in two tables), but the same issue exists in L2S as well.  There is also no option for eager loading on context level – you have to do this as part of Linq query.  There is also a helper class to manage data context for EF as well in 3.6.

 

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: ajj3085 [mailto:cslanet@lhotka.net]
Sent: Monday, November 03, 2008 8:21 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] Linq to SQL

 

So it seems pretty clear; L2S is on the way out.  It's a shame.. I haven't looked at EF so far, but it sounds a lot more complicated than L2S.  And I just finished replacing my custom ORM with L2S.  *sigh*


Copyright (c) Marimer LLC