Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site has saved me hours of work that I cannot begin to express my satisfaction..."

Geography

Where in the world do Tek-Tips members come from?
BenSCooper (Programmer)
15 Sep 10 4:33
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
jmeckley (Programmer)
15 Sep 10 8:46
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
Programmer

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

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!

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