T
tinman
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 !
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 !