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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:04:03+00:00 2026-05-13T21:04:03+00:00

I have a question that I just don’t feel like I’ve found a satisfactory

  • 0

I have a question that I just don’t feel like I’ve found a satisfactory answer for, either that or I’ve not been looking in the right place.

Our system was originally built using .NET 1.1 (however the projects all now support 3.5) and all entities are persisted to the database using stored procedures and a “SQLHelper” that has the standard ExecuteReader, ExecutreNonQuery type methods.

So what generally happens is we’ll have our entities for example, User and Role and we’ll have another class called UserIO that persists those objects to database with methods like:

 static UserIO.SaveUser(User user)

The reason for the separate IO file is to keep the IO separate from the entity however isn’t it more satisfactory to just to call?:

User.Save()

Maybe I’m wrong but it just doesn’t feel right to have these “IO” files scattered all over the place. So I’m thinking about looking at other options for persistence and I wondered where would be best place to start. I have used datasets in the past but had some mixed experiences particularly with their performance. I know LINQ is around now but I heard that rather than LINQ I should be using the ADO.NET Entity Framework but then somebody else told me the Entity Framework isn’t quite right and I should be waiting for C# 4.0. If that’s the case and with C# 4.0 just around the corner should I just carry on with my “IO” file approach and start with the Entity Framework when C# 4.0 is finally released. Or is there perhaps a more elegant class structure I could using e.g. utilizing Partial Classes?

I should say, I’m not looking at completely replacing the data access that already exists, I’m more concerned with the new entities I’m creating.

I’m sorry if this question is a little general, however I don’t have many people around to bounce this kind of thought off.

  • 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-13T21:04:04+00:00Added an answer on May 13, 2026 at 9:04 pm

    I have successfully used Entity Framework 3.5. There are some, who I would characterize as purists, who felt that Entity Framework violated some set of rules, and should not be used.

    In my opinion, the only rules that matter are your own. I recommend you begin experimenting with Entity Framework 3.5, since you have it now. Also, as soon as you can, you (and just about everyone else) need to begin experimenting with .NET 4.0. The Release Candidate is available for free, so there’s no reason to not at least know what’s available.

    It’s possible that you’ll find you like the EF changes in 4.0 so much that you’ll want to wait for it. It’s just as likely that you won’t feel a need to wait, and can go ahead and benefit from EF as it is in 3.5. I have, and I’m very glad I didn’t wait.

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

Sidebar

Related Questions

I have a question that doesn't need any specific answer, just a general direction
Question: I have a question that is apparently not answered by this already-asked Bash
This is a (hopefully) really simple question - I have been told recently that
I am learning LINQ and have a very simple question that I think will
I have a question with fluent interfaces. We have some objects that are used
So I'm learning java, and I have a question. It seems that the types
Question We have a large number of xml configuration files that we want merged
From a previous question I have seen that the CLR has workstation and server
Another basic Rails question: I have a database table that needs to contain references
Question Is there a way to have a method that will always run anytime

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.