Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. LINQ to SQL vs ADO.NET

LINQ to SQL vs ADO.NET

Scheduled Pinned Locked Moved LINQ
csharpquestiondatabasevisual-studiolinq
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brendan Vogt
    wrote on last edited by
    #1

    Hi, How ould you guys rate the 2 against each other? I would like to hear as many opinions as possible. If you have worked with both please comment on both. What is the difference in speed between the 2 seeing that ADO.NET uses stored procedures, and not sure if LINQ to SQL does as well? I have been working all my life with ADO.NET, is there a need to change to LINQ to SQL? Is there a future for LINQ to SQL? Brendan

    A M 2 Replies Last reply
    0
    • B Brendan Vogt

      Hi, How ould you guys rate the 2 against each other? I would like to hear as many opinions as possible. If you have worked with both please comment on both. What is the difference in speed between the 2 seeing that ADO.NET uses stored procedures, and not sure if LINQ to SQL does as well? I have been working all my life with ADO.NET, is there a need to change to LINQ to SQL? Is there a future for LINQ to SQL? Brendan

      A Offline
      A Offline
      ABitSmart
      wrote on last edited by
      #2

      It gives a querying language very close to the normal .Net programming syntax. I can use the LINQ semantics across XML, normal objects and also SQL querying. LINQ's strongly typed feature allows me to eliminate hiccups at an early stage. You can have stored procedures in LINQ too. It is just a wrapper which finally converts the LINQ query to SQL statement to execute. You might want to have a look here - Link1[^], Link2[^], Link3[^] I have read about Linq to Entity being the recommended model in the future releases. You might want to have a look at it too.

      1 Reply Last reply
      0
      • B Brendan Vogt

        Hi, How ould you guys rate the 2 against each other? I would like to hear as many opinions as possible. If you have worked with both please comment on both. What is the difference in speed between the 2 seeing that ADO.NET uses stored procedures, and not sure if LINQ to SQL does as well? I have been working all my life with ADO.NET, is there a need to change to LINQ to SQL? Is there a future for LINQ to SQL? Brendan

        M Offline
        M Offline
        Mohammad Dayyan
        wrote on last edited by
        #3

        As my experienced , LINQ is easier than ADO.NET. Also, if you learn LINQ you can work with any Data Bases ( like SQL, XML, ... ) with the same query syntax.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups