Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Class Diagram not showing relationships

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?

like image 223
kaivalya Avatar asked Apr 02 '09 09:04

kaivalya


2 Answers

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

like image 119
REA_ANDREW Avatar answered Nov 04 '22 23:11

REA_ANDREW


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

like image 40
rockXrock Avatar answered Nov 04 '22 22:11

rockXrock