Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 15th, 2003, 01:05 PM
Registered User
Join Date: Jul 2003
Location: Pune, Maharashtra, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default MVC pattern in Windows Applications.


This is related to the MVC pattern in Windows Applications.

I have used the basic framework of classes as given in the Wrox book--C# Design Patterns Applied. Now my questions are as under--

1) Ideally, what should be the responsibility of the model ? Should the model contain different datasets for each table in the application or all the tables should be in a single dataset ?

2) What is the responsibility of different business objects ? And, where should the code for Add / Delete / Update (i.e. Insert / Update / Delete in databases) reside ? Should it reside in the individual Business Objects (like the Orders BO in the example application) ? Because, if the code for Add / Delete / Update resides in the individual BOs then won't there be repetition of code ?

Can anyone of you help me with this considering the fact that I've designed my MVC pattern as given in the above mentioned book ?

Thanks and Regards,

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC pattern - where does display "logic" go? planoie General .NET 0 September 4th, 2008 07:56 AM
Java applications with windows 132591 Java Basics 0 November 24th, 2006 12:52 PM
Deploying Windows Applications ZiqXx C# 2 July 13th, 2004 04:00 AM
UserControl in Windows-Applications DG17 C# 2 September 8th, 2003 02:20 AM

All times are GMT -4. The time now is 01:45 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.