Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Which layer to use for strongly typed datasets in n-tier design?

Which layer to use for strongly typed datasets in n-tier design?

Which layer to use for strongly typed datasets in n-tier design?

Dear All,
I'm designing a new vb.net solution and want to return strongly typed dataset objects from the Data Access to the Presentation layer.  However, I can't decide where to create the datasets within a classic 3 tier design.  As I understand it, the only way that I can use the dataset object in all 3 tiers (Pres, BLL, DAL) is to have a 4th project that is made available to everything and create the datasets in there.
Is this a good solution to the problem?  Has anyone used a different model successfully?

Any opinions will be gratefully received.
Ben Cooper

RE: Which layer to use for strongly typed datasets in n-tier design?

3 tier != 3 projects/assemblies. the paradigm of 3 tiers logical, not physical. I recommend the onion architecture (1, 2, 3) as a logical systems model. I find this better represents modern application development.

Data sets/tables are just an implementation detail. whether you use datasets, pocos, or EF/LLBL context specific objects is indifferent to the high level system layout. I prefer POCOs for business worksflow and datatables for reporting. the only reason for that is reporting tools in .net usually work better with datatables, then POCOs.

Jason Meckley

FAQ855-7190: Database Connection Management
FAQ732-7259: Keeping the UI responsive

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close