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

  • Home
  • SEARCH
  • 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 7743963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:39:55+00:00 2026-06-01T09:39:55+00:00

I have a .Net winforms project with a short time table (about a week

  • 0

I have a .Net winforms project with a short time table (about a week or so). I’m starting to code the data access layer. It’s not a huge job, about 20 tables, stored either in a Sql Server or local MS Access databases. Data access is not my expertise so I’d like some recommendations.

My last experience was with .Net datasets and datatables, which gives an idea of how long it’s been since I did this. I’m aware that datasets are pretty obsolete at this point, and they can definitely be a royal pain at times. I’m sure Entity Framework, nHibernate, Linq2SQL are all probably much better, and I want to use the best tool- but again, I have only a week. If there’s too large a learning curve then it might not be feasible. Should I bite the bullet and stick with what I know (datasets), or is there a better tool that can be picked up and implemented fairly quickly?

  • 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-06-01T09:39:56+00:00Added an answer on June 1, 2026 at 9:39 am

    I have just finished writing a Datalayer in ‘Code-First’ POCO classes using the Entity Framework (beta 5.1, although it will work with 4.2+).

    This means that you write your project entities in standard C# classes (asides from a few extra annotations such as what property should be a key) and you get very straightforward persistence. The Entity framework creates your SQL database, sets up all the tables and relationships so you can be up and running with a Data Access layer in next to no time.
    To store or retrieve objects you make a call to an (automatically created) object context, which feels like using LINQ to pull objects out of lists of your entities (in reality it is actually dynamically creating the SQL and querying the tables).

    There is a little bit of configuration involved, but like the above it is straightforward.

    See http://blogs.msdn.com/b/adonet/archive/2011/09/28/ef-4-2-code-first-walkthrough.aspx as a great tutorial

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

Sidebar

Related Questions

I have a project coded in .NET Winforms. I need to implement a data-mining
I'm not a WinForms developer, but have been doing ASP.NET for quite some time.
I'm using agsXMPP in my .NET project (WinForms) I have the following Code block,
I have a .NET 3.5 WinForms project that uses several 3rd party controls and
I have a website (ASP.NET) and some winforms(.Net 2.0) for a project (written in
I have created a setup project in VS2008. My WinForms app uses .NET 2.0,
I have a .net WinForms 2.0 application that has an image library of about
I have a WinForms .NET datagrid whose data source is a List<cLineItem> called lines.
I have an existing C# 3.0 WinForms project with .NET 3.5 that talks to
My project is .NET/WinForms. I have a list view which is always filled with

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.