Solved

Is there any easy way to identify the relationship between classess in a project?

Posted on 2012-04-01
7
166 Views
Last Modified: 2012-04-16
Is there any easy way to identify the relationship between classess in a project in VS.NET?

The project could be either Class Library or WebApplication/Web Project.
0
Comment
Question by:Easwaran Paramasivam
  • 3
  • 3
7 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37794757
you can see the relationship once you generate class diagram, right click on your library and click view class diagram...
http://msdn.microsoft.com/en-us/library/ff657806.aspx

or you can use tools like visio to generate UML Diagrams for your.
There is another tool called UMLStar....
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 37794895
The link that you provided does not provide option to create UML Diagram for existing C# project. How to achieve that?

I have existing project. I would like to created UML diagram for that.
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 500 total points
ID: 37794906
Right click on project and there is view class diagram option....
To add a class diagram based on existing classes or types

    1. In Solution Explorer, select the file(s) that contain the items to display on the class diagram, Multi-selecting files is okay.

    2. Click the View Class Diagram button on the Solution Explorer toolbar.

    3. The class diagram opens in Class Designer and displays all classes and types in the selected files.

To add a class diagram based on an entire project

    1. In Solution Explorer, select the project name.

    2. Click the View Class Diagram button on the Solution Explorer toolbar.

    3. The class diagram opens in Class Designer and displays all classes and types in the project.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 37794919
Well. This is only option for class diagram. What about other kind of diagrams such as sequential diagram?
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37794922
follow the link and other links referred inside:-
http://msdn.microsoft.com/en-us/library/dd409377.aspx
0
 
LVL 40
ID: 37799540
Class diagrams are the only ones provided with the Professional edition of Visual Studio that are used by most programmers as well as with the Premium edition.

In order to have other types of diagrams, you need to buy the Ultimate Edition.
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 37850058
Thanks.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question