Visual Studio Class Diagram not showing relationships


Question

When I define my class properties with out using fields (which was enabled with C# 3.0), class diagram is not showing my one to one/many relationships. Inheritance is visible in the diagram though..

Is there a way to fix this?

1
73
4/2/2009 9:28:56 AM

Accepted Answer

When you right click on the field or property you can select show as association or show as collection association.

113
8/7/2013 4:36:46 AM

It's for people like me who do not find where is the menu item in 1 minute.enter image description here


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon