Object hierarchy HowTo
From: tinman (dwesar_at_yahoo.com)
Date: 04/04/04
- Next message: Rob: "Re: Object hierarchy HowTo"
- Previous message: aaron: "iis com object question"
- Next in thread: Rob: "Re: Object hierarchy HowTo"
- Reply: Rob: "Re: Object hierarchy HowTo"
- Reply: Willy Van den Driessche: "Re: Object hierarchy HowTo"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 4 Apr 2004 16:45:38 +0700
Hi...
I would like to achive the following object model in VB.NET.....not too sure
how to achieve
this but in VB6 I can declare the Project as PublicNotCreatable so as to
prevent external
instancing of the Project class....
Example:
Employee
|
| - - - Projects (this is a collection)
|
| - - - Project
How can I make the Projects and Project object ONLY accessible via the
Employee object ( as in
this case the model implies that 1 employee can have 1 or more Projects
assigned to him) ?
Appreciate any assistance on this.....
Cheers !
- Next message: Rob: "Re: Object hierarchy HowTo"
- Previous message: aaron: "iis com object question"
- Next in thread: Rob: "Re: Object hierarchy HowTo"
- Reply: Rob: "Re: Object hierarchy HowTo"
- Reply: Willy Van den Driessche: "Re: Object hierarchy HowTo"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|