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

  • Home
  • SEARCH
  • 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 6857101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:58:20+00:00 2026-05-27T01:58:20+00:00

what is the difference between linq to sql classes and entity framework seem that

  • 0

what is the difference between linq to sql classes and entity framework
seem that they same work like both
which is better in .net3.5 and why?
*which is better in .net4 and 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-27T01:58:21+00:00Added an answer on May 27, 2026 at 1:58 am

    Briefly:

    Linq-to-SQL is:

    • a “proof-of-concept” done by the Visual C# team to show off the capabilities of Linq
    • a straight 1:1 mapper – one table becomes one entity in your code
    • for SQL Server only
    • not very well suited to support stored procedures (you cannot e.g. create “complex types” to mirror values returned from your stored procedure)
    • designer-driven, database-first only approach (and model cannot be easily updated if your database changes)
    • basically a dead-end technology – there might be bug fixes here and there, but certainly no new features; it works – but don’t expect any further development on this

    –> so Linq-to-SQL works, and quite well in .NET 3.5 – but don’t expect anything new here….

    Entity Framework (at least in .NET v4 and up) is:

    • a “proper” OR-mapper technology (and more) done by the ADO.NET/database teams at Microsoft
    • a flexible mapper with a physical layer (database schema), a conceptual layer (your .NET objects), and a mapping layer between those two (three-layer approach)
    • supports several databases (SQL Server, Oracle etc.) out of the box – fairly easy to write an Entity Framework compatible provider for other databases
    • supports stored procedures very well (you can even pick a stored proc for one entity and one operation, e.g. for the DELETE)
    • offer database-first, model-first and code-first development approaches
    • if using model – that model can be updated from the database if your tables change over time
    • the product that Microsoft is investing lots of their resources into – still being very actively developed (additional features, new approachs like code-first development etc.)

    –> Entity Framework is my clear choice for .NET 4 and newer

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are lof of difference between Linq to Sql and Entity framework like Linq
I got confused on what are the differences between Linq-to-SQL and Entity Framework when
What is the difference between LINQ ToDictionary and ToLookup? They seem to do the
I'm using linq-to-sql to create a join between a table of prescriptions that's in
What's the difference between LINQ to SQL and ADO.net ?
see also Differences between LINQ to Objects and LINQ to SQL queries We are
Is there any difference between these two LINQ statements: var query = from a
Using LINQ on collections, what is the difference between the following lines of code?
Difference between a bus error and a segmentation fault? Can it happen that a
The difference between Chr and Char when used in converting types is that one

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.