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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:27:33+00:00 2026-05-14T16:27:33+00:00

Our organisation uses inline sql. We have been tasked with providing a suitable data

  • 0

Our organisation uses inline sql. We have been tasked with providing a suitable data access layer and are weighing up the pro’s and cons of which way to go…

  • Datasets
  • ADO.net
  • Linq
  • Entity framework
  • Subsonic
  • Other?

Some tutorials and articles I have been using for reference:

  • http://www.asp.net/(S(pdfrohu0ajmwt445fanvj2r3))/learn/data-access/tutorial-01-vb.aspx
  • http://www.simple-talk.com/dotnet/.net-framework/designing-a-data-access-layer-in-linq-to-sql/
  • http://msdn.microsoft.com/en-us/magazine/cc188750.aspx
  • http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx
  • http://www.subsonicproject.com/

I’m extremely torn, and finding it very difficult to make a decision on which way to go. Our site is a series of 2 internal portals and a public web site. We are using vs2008 sp1 and framework version 3.5.

Please can you give me advise on what factors to consider and any pro’s and cons you have faced with your data access layer.

PS. I found the subsonic web site’s information a bit shallow, and a lot of emphasis seems to be placed on how ‘cool’ it and it’s developers are. I’d much prefer a spoken explanation to their demo video than the music? Does anyone else agree?

  • 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-14T16:27:34+00:00Added an answer on May 14, 2026 at 4:27 pm
    1. Datasets > too much overhead for what you get. This is generally considered an idea that was past it’s prime the day it was released.

    2. ADO.Net (or Enterprise Library) > my personal preference for a host of reasons. However, we never use inline sql for a host of other reasons (mainly security) as well, so your mileage may vary. One reason we do go this route is that our team is very knowledgable about SQL and every one of the generators either falls short on performance or you have to know a fair amount of sql to tweak them. With that choice we opt to just do it ourselves.

    3. Linq > Skip this. New development on LINQ has basically stopped and the resources at MS were moved to the Entity Framework project. I’ve also found threading and other issues within the framework that haven’t been resolved.

    4. Entity Framework > Some people like this. You will still need a good amount of SQL knowledge to get the best out of it.

    5. Subsonic, etc > Don’t have enough experience with 3rd party ones to really tell you the pros/cons.

    To sum up, we prefer control and have the knowledge to get the most out of it. We’ve tried the linq / EF route and weren’t exactly impressed. I’ve seen others, and briefly worked with them, but they failed to be performant on anything but the most basic CRUD type statements.

    If most of what you are doing is CRUD related, then EF, Subsonic, or similiar will work.

    Some things to consider when evaluating:

    • How does it handle ad-hoc queries?
    • How does it handle data paging / sorting (SQL side or does it pull everything into the web server)?
    • What are the memory leaks?
    • Is threading a requirement? Write a simple app to test that in each of the ones you are evaluating. Run it a LOT under different memory / cpu conditions.

    Good luck.

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

Sidebar

Related Questions

CC.Net is pretty cool and we have been using it in our organisation for
I have been trying to clean up the naming and organisation conventions of our
Problem: My organisation, ExampleFooBar, uses Google Apps. On our website I want to enable
We have various teams building Silverlight applications within our organisation. We have just started
I have developed a framework that is used by several teams in our organisation.
We have common CSS styling in our organisation that most of the projects use.
Our organization's software is compiled for the .NET 3.5 Framework. We have some customers
In our organization we have some projects which are (by policy) open to all
We've been asked to list all the software and licenses used in our organization.
We are moving from Visual Sourcesafe to Subversion within our organisation. I am running

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.