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 4054070
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:31:40+00:00 2026-05-20T14:31:40+00:00

This is my first project that i need to use some database ( using

  • 0

This is my first project that i need to use some database ( using SQL server 2008 ).
I have the tables and now i need to decide how i will read the data from the tables.
I define dataset and i added some Querys that will return the information that i need to get from the table.

But i can also use the “LINQ to SQL Classes” to get the information from the tables.
I think that using the Dataset and/or using the “LINQ to SQL Classes” is very simple.

The questions that i have are:
1. Is there is some benefit of using DataSet or using the “LINQ to SQL Classes” ?
2. Witch of them have better performance ?
3. Is there some other reason to prefer one them instead the other ?

  • 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-20T14:31:41+00:00Added an answer on May 20, 2026 at 2:31 pm

    1) Is there is some benefit of using DataSet or using the “LINQ to SQL
    Classes” ?

    I would argue that the idea of an ORM like Linq-to-SQL is to turn the row/column structure of a relational table (which works great in the DB) into a .NET object with properties which is just so much easier to work with than a DataSet / DataTable / DataRow / DataRow["colname"] structure in .NET. As an added benefit, you also get intellisense on your object and its properties, and those properties are type-safe, e.g. you know from your object that Age is an INT property and .NET won’t allow you to assign a string to that age property – with the DataRow["Age"], you can assign anything you want to it – you’ll get the error at runtime, when you try to save. Not a great programming experience!

    2) Witch of them have better performance ?

    Just in terms of system performance: straight ADO.NET (DataSet etc.) will have slighly better performance mostly, since Linq-to-SQL is another layer on top of ADO.NET

    In terms of programmer performance (productivity): using an ORM like Linq-to-SQL wins hands-down – no comparison!

    3) Is there some other reason to prefer one them instead the other ?

    I think these points are enough pro ORM:

    • being able to work with objects
    • getting intellisense with objects’ properties
    • type-safety for object properties

    At least for me, this is more than enough to never ever wanting to go back to DataTable/DataRow programming….. it’s sooooo last century… 🙂

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

Sidebar

Related Questions

I'm starting a new personal project on the side, so this is the first
This project is the probable first step in migrating a large CMS from Classic
This is my first post here and I wanted to get some input from
This is my first experience using the Zend Framework. I am attempting to follow
this is my first question to stackoverflow so here it goes... I use cruise
This is my first time using joomla. I don't know if I'm using the
This is my first crack at a method that is run periodically during the
problem euler #5 i found the solution but i don't know why this first
This is my first time attempting to call an ASP.NET page method from jQuery.
this is my first question here so I hope I can articulate it well

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.