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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:09:19+00:00 2026-05-26T00:09:19+00:00

Using ADO.NET , what is the fastest way to retrieve data from the database

  • 0

Using ADO.NET, what is the fastest way to retrieve data from the database and populate the data into my business objects?

Which one should I use? DBDataReader , DBDataAdapter, or any other classes?

Is there a way to make this process automated? Let’s say based on property names and matching them with database field names?

  • 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-26T00:09:19+00:00Added an answer on May 26, 2026 at 12:09 am

    That sounds exactly like what an ORM or micro-ORM does. Here’s the output of dapper-dot-net‘s performance tests (run about 1 minute ago, on a PC that is also busy doing some transcoding, so not 100% reliable – please run yourself)… This is also a very limited test – as always, tests should be representative of your specific environment – but since we can’t predict your environment, we use our environment instead! I’ve marked the “dapper” ones as <==== dapper

    Running 500 iterations that load up a post entity
    Mapper Query (non-buffered) took 57ms          <==== dapper
    hand coded took 57ms
    Dynamic Mapper Query (buffered) took 58ms      <==== dapper
    PetaPoco (Fast) took 58ms
    Dynamic Mapper Query (non-buffered) took 59ms  <==== dapper
    Mapper Query (buffered) took 60ms              <==== dapper
    Dapper.Cotrib took 60ms                        <==== dapper
    PetaPoco (Normal) took 66ms
    Dynamic Massive ORM Query took 67ms
    BLToolkit took 88ms
    Simple.Data took 96ms
    Linq 2 SQL Compiled took 99ms
    NHibernate Session.Get took 127ms
    SubSonic Coding Horror took 128ms
    Entity framework CompiledQuery took 130ms
    NHibernate HQL took 132ms
    NHibernate SQL took 134ms
    NHibernate Criteria took 173ms
    Soma took 184ms
    Linq 2 SQL ExecuteQuery took 230ms
    Linq 2 SQL took 694ms
    NHibernate LINQ took 700ms
    Entity framework ESQL took 730ms
    Entity framework ExecuteStoreQuery took 735ms
    Entity framework took 991ms
    Entity framework No Tracking took 1011ms
    SubSonic ActiveRecord.SingleOrDefault took 4345ms
    (end of tests; press any key)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some existing code that retrieves data from a database using ADO.NET that
i am using ADO.Net oledb for inserting and fetching data from Excel database. I
I am inserting values in to Database from a Webform using ADO.NET, C#. DB
I have Entity Data Model using ADO.NET Entity Data Model (using auto generate from
Using: ado.net How can I select data from a DataTable using SQL with an
I'm looking at using ADO.NET Data Services with silverlight. I've been looking at the
in our current project we are using ADO.NET Entity Framework as data layer for
Is there a way to insert a row using ADO.Net without filling the dataset
I'm using ADO.NET entity framework, and am using an AdventureWorks database attached to my
We are using ado.net entity framework 4.0 for our database layer and I am

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.