Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3321370
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:03:16+00:00 2026-05-17T23:03:16+00:00

I’ve seen some discussion about L2S vs EF4 on Stack Overflow back in April,

  • 0

I’ve seen some discussion about L2S vs EF4 on Stack Overflow back in April, when VS2010 was launched, namely:

Dump Linq-To-Sql now that Entity Framework 4.0 has been released?

Is Entity Framework worth moving to for a new small app?

Now, after 6 months, presumably people have had more interacting with EF4, so I’m curious of fresh opinions, especially when considering working only with SQL Server.

I’ve used LINQ to SQL a lot, and only played a bit with EF4. I wouldn’t mind jumping in and learning more EF4, I’m not convinced though that it’s worth the extra complexity, if my app is only going to talk to SQL Server.

So, if you had some experience with both, and you were to start a new small or medium-size app today, with a SQL Server back-end, which one would you choose?

And, of course, why…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:03:17+00:00Added an answer on May 17, 2026 at 11:03 pm

    It depends… 🙂

    If you don’t need any of the extra features added by EF, L2S is generally:

    • easier to get started with and work with,
    • does more straightforward translations from Linq queries to TSQL and supports translating more plain .net methods into TSQL whereas L2E relies on ‘special’ methods for things like date/time comparisons etc,
    • and has less runtime overhead due to the direct 1:1 mapping between tables and entity classes.

    EF adds more features such as support for other RDBMSes and more complex mapping than plain 1:1, support for several different types of entity inheritance etc. That comes with a cost:

    • the runtime overhead is higher than for L2S,
    • writing linq queries against EF is slightly more likely to run into expressions that can not be translated into TSQL due to use of unsupported CLR methods, or that needs to use L2E’s ‘special methods‘, and
    • it can take a bit more time to get the head around EF models than L2S models due to the dual layers (storage model and conceptual model) and the mappings between them. Manual tweaking of the model file in an xml editor is not unusual.

    In short:

    1. If your app is simple enough, you
      only need to support SQL Server, and
      your db schema / data model is clean
      enough so you don’t need to do more
      advanced mapping then L2S is a great
      choice. Although it is unlikely that
      MSFT will add any new big features
      to it, that is not really necessary.
      It works great as it is and solves
      the problem it is supposed to solve. Lots of apps and websites (including this one) runs fine on L2S.
    2. If you need to support other DBs
      than SQL Server, or if your db
      schema doesn’t match the object
      model you want, or you need other
      ‘bigger’ features from EF then you
      should use EF.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.