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
Register
Register | 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 Display Modes
  #1 (permalink)  
Old July 15th, 2003, 02: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.

Hi,

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,
Manoj.

Closed Thread


Thread Tools
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 08: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 05:00 AM
UserControl in Windows-Applications DG17 C# 2 September 8th, 2003 03:20 AM



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


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