Visual Studio class diagram showing no relationship

When I define my class properties without using fields (which were included with C # 3.0), the class diagram does not show a one-to-one / many relationship. Inheritance is visible in the diagram, though ..

Is there any way to fix this?

+70
c # visual-studio
Apr 02 '09 at 9:28
source share
5 answers

By right-clicking on a field or properties, you can choose to show as an association or show a collection association.

+109
Apr 02 '09 at 9:32
source share

This is for people like me who don’t find where the menu item is in 1 minute. enter image description here

+52
Jan 06 '13 at 3:20
source share

In Visual Studio 2013: Right-click the class, select Add, and select the desired ratio.

enter image description here

Additional information: http://msdn.microsoft.com/en-us/library/ff657806.aspx

+7
Oct 18 '14 at 23:03
source share

This combines with Visual Studio and does everything you want to do with class diagrams. http://modeling.codeplex.com/

+4
May 25 '11 at 23:18
source share

Since someone asked how to download files from old codeplex.com, I will briefly explain the steps below. 1. Follow the link. In this case, it is http://modeling.codeplex.com/ . 2. Click the "Download archive" button to download the archive. 3. Open the downloaded zip file. ex) modeling. zip The file structure in the archive file 4. Go to the "Releases" folder if you are looking for a binary file, not the source one. 5. Open the releaseList.json file to see the description and the actual name of each file. Detailed information for each file 6. Find the desired file and get the folder identifier, file identifier and file name from the file releaseList.json. 7. Browse to the folder corresponding to the folder ID. example) 2 8. Select the file corresponding to the file identifier and copy it to another location. Rename the file using FileName from the file releaseList.json. 9. You can go from there.

0
May 10 '19 at 18:40
source share



All Articles