Class diagrams

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

I have the professional version of visual studio 2005 and I'd like to know
if I can create associations between classes in the classes diagram.

Thank you.
 
Alberto said:
I have the professional version of visual studio 2005 and I'd like to know
if I can create associations between classes in the classes diagram.

Thank you.

Yes,

If you create the class diagram first, any updates to the classes will
auto update the diagram and vice versa.

-Keith
http://www.dotnetpimps.net
 
Alberto said:
I have the professional version of visual studio 2005 and I'd like to know
if I can create associations between classes in the classes diagram.

Visual Studio 2005 Pro has all the class diagraming stuff in it. Just create
a class, right-click on it, and say "View Diagram".

The diagram and the class will always be in sync from there on out.

Now, if you wanted to do logical datacenter diagrams, system diagrams, of
deployment diagrams you would need the appropiate flavor of VS Team System.
 
Make sure you have your class designer file open. In your toolbox, you
should have something called "association" or "inheritance". Select one of
those. Your pointer should change to the shape of either "association" or
"inheritance" (depending on what you choose). Click and hold on one class,
and then drag to the other class. Once you get to the other class, release
the click. This should create your association in your diagram.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top