开发者

defining class relationships in c# and visual studio 2010

开发者 https://www.devze.com 2022-12-29 05:16 出处:网络
Hey guys, in Visual Studio 2010 I can point to a bunch of classes and create a diagram. However, the diagram by default doesn\'t recognize any relationships between the classes, except inheritance an

Hey guys, in Visual Studio 2010 I can point to a bunch of classes and create a diagram.

However, the diagram by default doesn't recognize any relationships between the classes, except inheritance and implementations.

Is there a way, ideally by using Attributes, to defi开发者_Python百科ne class and property relationships and associations in such a way that it is picked up by a new Class Diagram automatically?

cheers!


You can show the property on the class as a relationship by right-clicking it and choosing "Show as Association" or "Show as Collection Association".

0

精彩评论

暂无评论...
验证码 换一张
取 消