Moran Helman
Moran Helman

Reputation: 18562

Is linq2sql behind the scence equal to Entity Framework

i know its a new thing , more powerful and a lot more options added to it, but is linq2sql is part of the new EF ?

if not , what is the main different between the two frameworks?

Upvotes: 2

Views: 365

Answers (2)

stusmith
stusmith

Reputation: 14103

I've written a couple of opinion pieces about LINQ-to-Entities, and its relation to LINQ-to-SQL:

http://www.hackification.com/2008/12/03/linq-to-entities-the-blackberry-storm-of-orms/ http://www.hackification.com/2008/12/04/linq-to-entities-follow-up/

Summary: LINQ-to-SQL isn't the same as LINQ-to-Entities. L2S has a small feature-set, but what it does, it does very well. L2E aims to cover a much wider feature-set, but the current version seems to have some glaring omissions (eg lazy-loading). v2 of L2E should be much better; the current version (IMHO) feels more like a beta.

Upvotes: 4

StingyJack
StingyJack

Reputation: 19479

From what I have read and been told (repeatedly =) ), linq 2 sql is being retired in favor of Linq to EF.

See here https://stackoverflow.com/questions/253263/has-microsoft-really-killed-linq-to-sql and here Is LINQ to SQL Dead or Alive?

EF will allow you to use a more generic backing store, and that is better for users of non MSSQL backing stores.

Upvotes: 0

Related Questions