Click here to Skip to main content
15,918,168 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Tabbed environments brings with it clutter? Pin
francoisdotnet20-Apr-07 1:23
francoisdotnet20-Apr-07 1:23 
QuestionBusiness Object Structure Pin
Tristan Rhodes16-Apr-07 6:00
Tristan Rhodes16-Apr-07 6:00 
GeneralRe: Business Object Structure Pin
Chris-Kaiser23-Apr-07 14:31
Chris-Kaiser23-Apr-07 14:31 
General[Message Deleted] Pin
#12323-Apr-07 15:25
#12323-Apr-07 15:25 
GeneralRe: Business Object Structure Pin
Tristan Rhodes24-Apr-07 7:02
Tristan Rhodes24-Apr-07 7:02 
GeneralRe: Business Object Structure Pin
Chris-Kaiser24-Apr-07 8:44
Chris-Kaiser24-Apr-07 8:44 
AnswerRe: Business Object Structure Pin
Chris-Kaiser23-Apr-07 14:25
Chris-Kaiser23-Apr-07 14:25 
GeneralRe: Business Object Structure Pin
Tristan Rhodes24-Apr-07 6:20
Tristan Rhodes24-Apr-07 6:20 
Hi Chris,

I've never really liked using datasets as a whole, but i do find the Tables and Adapters immensley useful stand alone (Although there is exactly zero chance of a DB change).

By Manipulation, i mean the functions that wrap execution of the SQL.

As a concrete example, i've tried it a few ways, but i'll go over them briefly and see if that clarifies anything.

1) An Account data object that contains just the fields, and an account manager object that can handle inserting, updating, enabling / disabling etc.

2) An account data object with the fields AND the functions for handling inserting, updating, enabling / disabling etc.

3) An account data object with the fields AND the functions for handling inserting, updating, enabling / disabling etc, with a support class which has the same functions (like example 1) and is required inside the data object for the data object's functions to work. Basicaly the functions proxy to the internal objects method calls.

I've tried all of them, and unfortunately, its left a bit of a mess in some of my code as i couldn't make up my mind what was the best way to go about it. I lean towards option 1, but think that 3 has some potential if done right.

T

-------------------------------

Carrier Bags - 21st Century Tumbleweed.

GeneralRe: Business Object Structure Pin
Chris-Kaiser24-Apr-07 8:47
Chris-Kaiser24-Apr-07 8:47 
GeneralRe: Business Object Structure Pin
Tristan Rhodes24-Apr-07 23:45
Tristan Rhodes24-Apr-07 23:45 
GeneralRe: Business Object Structure Pin
Chris-Kaiser1-May-07 12:00
Chris-Kaiser1-May-07 12:00 
GeneralRe: Business Object Structure Pin
Tristan Rhodes10-May-07 2:56
Tristan Rhodes10-May-07 2:56 
QuestionIntegration Specification Samples Pin
Charl13-Apr-07 1:48
Charl13-Apr-07 1:48 
Question[Message Deleted] Pin
#12311-Apr-07 8:44
#12311-Apr-07 8:44 
AnswerRe: Toilet Seats and Oven Doors Pin
Dave Kreskowiak11-Apr-07 9:31
mveDave Kreskowiak11-Apr-07 9:31 
AnswerRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser13-Apr-07 10:03
Chris-Kaiser13-Apr-07 10:03 
GeneralRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser13-Apr-07 10:32
Chris-Kaiser13-Apr-07 10:32 
General[Message Deleted] Pin
#12313-Apr-07 10:45
#12313-Apr-07 10:45 
GeneralRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser13-Apr-07 10:54
Chris-Kaiser13-Apr-07 10:54 
GeneralRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser13-Apr-07 11:32
Chris-Kaiser13-Apr-07 11:32 
GeneralRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser13-Apr-07 13:16
Chris-Kaiser13-Apr-07 13:16 
General[Message Deleted] Pin
#12313-Apr-07 15:33
#12313-Apr-07 15:33 
GeneralRe: Toilet Seats and Oven Doors Pin
Tristan Rhodes14-Apr-07 3:23
Tristan Rhodes14-Apr-07 3:23 
GeneralRe: Toilet Seats and Oven Doors Pin
Leslie Sanford14-Apr-07 6:56
Leslie Sanford14-Apr-07 6:56 
GeneralRe: Toilet Seats and Oven Doors Pin
Chris-Kaiser16-Apr-07 9:10
Chris-Kaiser16-Apr-07 9:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.