Click here to Skip to main content
16,006,001 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: DTO design supporting multiple tables Pin
CodingYoshi15-Jul-09 17:33
CodingYoshi15-Jul-09 17:33 
Leftyfarrell wrote:
I could have a class per table

I think this is a bad idea. Your tables are designed so data is normalized. Your code--classes--should be designed to normalize behavior not data. Think of your problem domain, jot down all things you need to do to these objects, assign these things to appropriate classes. Try to normalize behavior by using inheritance.

That is all I can say because I don't know too much about what you are trying to do.

CodingYoshi

Artificial Intelligence is no match for Human Stupidity.

QuestionRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 1:51
Leftyfarrell16-Jul-09 1:51 
AnswerRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 3:24
CodingYoshi16-Jul-09 3:24 
GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 3:58
Leftyfarrell16-Jul-09 3:58 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 8:05
CodingYoshi16-Jul-09 8:05 
GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 9:56
Leftyfarrell16-Jul-09 9:56 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 17:13
CodingYoshi16-Jul-09 17:13 
QuestionOODB or RDB for checkbook/budget program? Pin
copec10-Jul-09 17:15
copec10-Jul-09 17:15 
AnswerRe: OODB or RDB for checkbook/budget program? Pin
riced11-Jul-09 10:06
riced11-Jul-09 10:06 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec11-Jul-09 11:25
copec11-Jul-09 11:25 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 2:12
riced12-Jul-09 2:12 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec12-Jul-09 7:08
copec12-Jul-09 7:08 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 21:07
riced12-Jul-09 21:07 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec14-Jul-09 11:15
copec14-Jul-09 11:15 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced14-Jul-09 20:55
riced14-Jul-09 20:55 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec15-Jul-09 3:49
copec15-Jul-09 3:49 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 5:20
riced15-Jul-09 5:20 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec15-Jul-09 8:11
copec15-Jul-09 8:11 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 22:28
riced15-Jul-09 22:28 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 3:51
copec16-Jul-09 3:51 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 15:14
copec16-Jul-09 15:14 
Questionneed help in architecting a design for a webapplication Pin
shankbond10-Jul-09 3:27
shankbond10-Jul-09 3:27 
AnswerRe: need help in architecting a design for a webapplication Pin
Mycroft Holmes11-Jul-09 15:06
professionalMycroft Holmes11-Jul-09 15:06 
GeneralRe: need help in architecting a design for a webapplication Pin
shankbond12-Jul-09 22:17
shankbond12-Jul-09 22:17 
GeneralRe: need help in architecting a design for a webapplication Pin
Pete O'Hanlon12-Jul-09 22:55
mvePete O'Hanlon12-Jul-09 22:55 

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.