Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: Collection within a Collection and "loading" advice Pin
James T. Johnson23-Oct-02 0:53
James T. Johnson23-Oct-02 0:53 
GeneralRe: Collection within a Collection and "loading" advice Pin
Paul Watson23-Oct-02 1:13
sitebuilderPaul Watson23-Oct-02 1:13 
GeneralRe: Collection within a Collection and "loading" advice Pin
James T. Johnson23-Oct-02 1:20
James T. Johnson23-Oct-02 1:20 
GeneralRe: Collection within a Collection and "loading" advice Pin
Paul Watson23-Oct-02 1:59
sitebuilderPaul Watson23-Oct-02 1:59 
GeneralRe: Collection within a Collection and "loading" advice Pin
James T. Johnson23-Oct-02 2:28
James T. Johnson23-Oct-02 2:28 
GeneralRe: Collection within a Collection and "loading" advice Pin
Paul Watson23-Oct-02 3:12
sitebuilderPaul Watson23-Oct-02 3:12 
GeneralRe: Collection within a Collection and "loading" advice Pin
James T. Johnson23-Oct-02 3:26
James T. Johnson23-Oct-02 3:26 
GeneralRe: Collection within a Collection and "loading" advice Pin
Daniel Turini23-Oct-02 1:23
Daniel Turini23-Oct-02 1:23 
You're in trouble: this kind of code, although OOP-friendly and very elegant, always lead to bad performance, sooner or later.
Unfortunately, the COM+ way of doing things and having stateless components wich usually only return the needed data asked is the way to go if you have performance and scalability concerns, despite its ugliness.
The collection-style data access layer also puts you in trouble when you need your data in different ways. The way you are designing you collection classes do not reflect properly a relational database and can leave you in really bad water when in the future you need even the simplest reports or calculations.
If you decide going this way, it’s better choosing a object oriented database instead of a relational database, e.g. Caché, which allows you to store things this way, takes care of the issues you noticed and lets you query it in a flexible way.



Q261186 - Computer Randomly Plays Classical Music
GeneralRe: Collection within a Collection and "loading" advice Pin
Paul Watson23-Oct-02 2:05
sitebuilderPaul Watson23-Oct-02 2:05 
GeneralRe: Collection within a Collection and "loading" advice Pin
Daniel Turini23-Oct-02 2:22
Daniel Turini23-Oct-02 2:22 
GeneralRe: Collection within a Collection and "loading" advice Pin
Jon Rista23-Oct-02 18:33
Jon Rista23-Oct-02 18:33 
GeneralRe: Collection within a Collection and "loading" advice Pin
Paul Watson23-Oct-02 21:19
sitebuilderPaul Watson23-Oct-02 21:19 
GeneralRe: Collection within a Collection and "loading" advice Pin
Jon Rista27-Oct-02 17:48
Jon Rista27-Oct-02 17:48 
Questionthread.Abort() doesn't work????? Pin
fftongzhi22-Oct-02 15:23
fftongzhi22-Oct-02 15:23 
AnswerRe: thread.Abort() doesn't work????? Pin
Paul Riley23-Oct-02 0:17
Paul Riley23-Oct-02 0:17 
GeneralRe: thread.Abort() doesn't work????? Pin
James T. Johnson23-Oct-02 0:58
James T. Johnson23-Oct-02 0:58 
GeneralRe: thread.Abort() doesn't work????? Pin
fftongzhi23-Oct-02 16:04
fftongzhi23-Oct-02 16:04 
GeneralRe: thread.Abort() doesn't work????? Pin
James T. Johnson23-Oct-02 16:57
James T. Johnson23-Oct-02 16:57 
GeneralRe: thread.Abort() doesn't work????? Pin
fftongzhi23-Oct-02 18:51
fftongzhi23-Oct-02 18:51 
GeneralRe: thread.Abort() doesn't work????? Pin
Jon Rista23-Oct-02 17:51
Jon Rista23-Oct-02 17:51 
GeneralRe: thread.Abort() doesn't work????? Pin
James T. Johnson23-Oct-02 18:39
James T. Johnson23-Oct-02 18:39 
GeneralHelp about .NET windows service solutions Pin
Member 13227322-Oct-02 5:07
Member 13227322-Oct-02 5:07 
Questionplease try it...see what happens...is it a bug? Pin
Atilla Selem22-Oct-02 4:36
Atilla Selem22-Oct-02 4:36 
AnswerRe: please try it...see what happens...is it a bug? Pin
Daniel Turini22-Oct-02 4:43
Daniel Turini22-Oct-02 4:43 
GeneralRe: please try it...see what happens...is it a bug? Pin
Atilla Selem22-Oct-02 5:51
Atilla Selem22-Oct-02 5:51 

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.