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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:19:28+00:00 2026-05-11T10:19:28+00:00

Ok, I have a question that I know is very opinionated (based on all

  • 0

Ok, I have a question that I know is very opinionated (based on all the posts I have read), but I need help. Long story short, I have been using the following model for Data access for past few years.

Database->Sprocs->XSD(Typed dataset, drag drop sproc in.net)-> In DAL project make functions to call created methods made by XSD, load all the data then map to projects business objects.

The pros of this:

1) Easy drop drag to create SQL calls

2) Sprocs are almost a most due to other constraints and easy to add

3) Project uses own Business objects that fit the solution and not the database, I just map them in C#

4) Code mapping, easy to refactor

5) who doesn’t like everything to be typed and intellisensed

Cons: 1) Slow to build

2)Slow to pull data (Table adapter and datasets have bad performance compared to a datareader)

3) Buggy when it comes to null vales. And boy can this krap be buggy and this wastes a lot of time.

So that’s what I’ve been doing and not being an idiot, I realized there has to be better ways. So I have spent the last week looking at NHiberabte, LINQ to SQL, Entity Framework, or going back to doing it all with code with datareaders and untyped.

SO, the question is what is a good database (sprocs likely to Objects) mapper .

My thoughts on the 3 I looked at:

1)Linq to SQL – Well its only SQL and Microsoft pretty much has said it’s a dead technology, so seems pointless.

2) Entity Framework – I probably need more exposure to this one, but it seems like mapping this stuff to my own objects would put me back to where I was.

3) Nhibernate – Looked promising, but dam I hate writing XML files and my current projects have like 30 to 50 Business objects. Also, I have to use sprocs in various areas.

Anyone’s suggestions or a really good link to a tutorial on a good ORM would be greatly appreciated. Sorry this question is so long. Thanks, Joe

  • 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. 2026-05-11T10:19:28+00:00Added an answer on May 11, 2026 at 10:19 am

    Check out: http://www.summerofnhibernate.com and this post regarding SPROCS and nHibernate from Davy Brion:Sprocs and NHibernate

    Also you can use Fluent NHibernate to avoid the XML…which really isn’t that bad.

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

Sidebar

Related Questions

I know that this is a repeated question. I have found very similar questions
I know that similar questions have been asked before, but I am very much
I know there are other questions that have similar issues, but I have read
I have a question that may be quite naive, but I feel the need
I know there is this question that is very similar, but I wanted to
I have question that seems very simple, but I just can't get it right.
I know that this question has been asked loads of times, but I have
I have a simple question that I think someone will answer very fast, but
I have a question that I'm sure it's very quick to answer, but I
I have a question that must surely seem very trivial, but the answer has

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.