Click here to Skip to main content
15,897,371 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Basic Class Design Pin
led mike10-Sep-07 5:09
led mike10-Sep-07 5:09 
GeneralRe: Basic Class Design Pin
rb15710-Sep-07 6:28
rb15710-Sep-07 6:28 
GeneralRe: Basic Class Design Pin
led mike10-Sep-07 8:02
led mike10-Sep-07 8:02 
QuestionRe: Basic Class Design Pin
rb15711-Sep-07 0:32
rb15711-Sep-07 0:32 
AnswerRe: Basic Class Design Pin
Maximilien10-Sep-07 7:00
Maximilien10-Sep-07 7:00 
GeneralRe: Basic Class Design Pin
rb15711-Sep-07 0:44
rb15711-Sep-07 0:44 
AnswerRe: Basic Class Design Pin
etkid8421-Sep-07 2:57
etkid8421-Sep-07 2:57 
AnswerRe: Basic Class Design Pin
Edward Steward21-Sep-07 19:37
Edward Steward21-Sep-07 19:37 
Why don't you look at providing a Many:Many relationship between the songs and artists. Ok, sure this is best performed back in the data, but you can then easily place a "LINK" class between the Songs and Artists. That way you don't have a true circular reference but you will reap the benefits.

Songs (1) ---> (M) SongArtistLink (M) <--- (1) Artists

I'm using this approach in our own in-house solution on a number of various entities. In the songs class, add a Readonly Artists property which references the "LINK" class. In the artists class, add a Readonly Songs property which references the "LINK" class.

We've seen no perceived or measurable performance penalties using this approach and because the link is done in "data" you can then query the data at any time using any of the available tools.

Hope this helps.

Edward Steward
edwardsteward@optusnet.com.au

GeneralRe: Basic Class Design Pin
rb15721-Sep-07 23:37
rb15721-Sep-07 23:37 
GeneralRe: Basic Class Design Pin
Edward Steward22-Sep-07 15:11
Edward Steward22-Sep-07 15:11 
QuestionLoading Composite Object Model Pin
nzaveri5-Sep-07 6:46
nzaveri5-Sep-07 6:46 
AnswerRe: Loading Composite Object Model Pin
led mike5-Sep-07 7:46
led mike5-Sep-07 7:46 
GeneralRe: Loading Composite Object Model Pin
Magnus Salgo1-Oct-07 21:08
Magnus Salgo1-Oct-07 21:08 
QuestionHelp on Design for Cross-Platform Application Pin
brdavid4-Sep-07 3:57
brdavid4-Sep-07 3:57 
AnswerRe: Help on Design for Cross-Platform Application Pin
led mike4-Sep-07 6:51
led mike4-Sep-07 6:51 
GeneralRe: Help on Design for Cross-Platform Application Pin
brdavid4-Sep-07 11:24
brdavid4-Sep-07 11:24 
AnswerRe: Help on Design for Cross-Platform Application Pin
Maximilien4-Sep-07 9:56
Maximilien4-Sep-07 9:56 
GeneralRe: Help on Design for Cross-Platform Application Pin
brdavid4-Sep-07 11:28
brdavid4-Sep-07 11:28 
AnswerRe: Help on Design for Cross-Platform Application Pin
Ed.Poore10-Sep-07 0:57
Ed.Poore10-Sep-07 0:57 
Questionsingleton pattern example Pin
Vinay Dornala3-Sep-07 19:29
Vinay Dornala3-Sep-07 19:29 
AnswerRe: singleton pattern example Pin
satyaki mishra4-Sep-07 1:31
satyaki mishra4-Sep-07 1:31 
GeneralRe: singleton pattern example Pin
led mike4-Sep-07 5:06
led mike4-Sep-07 5:06 
GeneralRe: singleton pattern example Pin
DavidNohejl4-Sep-07 6:12
DavidNohejl4-Sep-07 6:12 
GeneralRe: singleton pattern example Pin
led mike4-Sep-07 6:45
led mike4-Sep-07 6:45 
GeneralRe: singleton pattern example Pin
DavidNohejl4-Sep-07 7:28
DavidNohejl4-Sep-07 7:28 

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.