Hi,
in my current project I'm using a lot of classes that we lay relations between with public properties. Because I've got Team System For Developers I just wanted to try out the new class diagram features to visualize things more.
Something that bothers me though is that you can lay associations between classes, which create public properties. Great for single types because it shows an arrow from the first class to the second class. But to mimic a 0..* relation we use List<T> extensively. If I want to lay such a relation I just drag an association between the 2 classes but this is only for 0..1 relation. No problem, I just alter the created property to a List<T> but all of a sudden the association arrow's gone.
So maybe a thought for an update or next version, Orcas: let it be possible to have also 0..* relationships and give the possibility to directly create the private instance field associated with the association when after you drawn it. This would require less code updating in the involved classes themselves and would very likely speed up developer productivity.
Grz, Kris.
Kris van der Mast [MVP] ||
101 LINQ to SQL samples