locked
Class Diagrams

    問題

  • What is the difference between UML diagrams in a modeling project and class diagrams in a C# project?
    2012年3月19日 下午 06:04

解答

  • Hi JBLENNON,

    Welcome to the MSDN forum.

    In my opinion, they focus on different levels.

    If you have created a modeling project, you will find that there are many kinds of UML diagrams in it, such as class, component, sequence, and use case. Different diagrams have deal with different things. A use case diagram is used to show the relationship between actors and use case. So UML diagrams in modeling project are used to show the aspects of system short and clearly. They usually don’t focus on everything in it.

    But the class diagram in C# project is focus on the detail of form or class. You can add summaries to all the filed, properties, methods and events.  It can add class and modify them easily.

    Here is some information about UML modeling projects and class diagrams:

    Visual Studio 2010: UML modeling projects: http://weblogs.asp.net/gunnarpeipman/archive/2009/11/04/visual-studio-2010-uml-modeling-projects.aspx 

    Working with Class Diagrams (Class Designer): http://msdn.microsoft.com/en-us/library/33864ckt.aspx 

    Hope this helps.


    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

    2012年3月21日 上午 06:19

所有回覆

  • Hi JBLENNON,

    Welcome to the MSDN forum.

    In my opinion, they focus on different levels.

    If you have created a modeling project, you will find that there are many kinds of UML diagrams in it, such as class, component, sequence, and use case. Different diagrams have deal with different things. A use case diagram is used to show the relationship between actors and use case. So UML diagrams in modeling project are used to show the aspects of system short and clearly. They usually don’t focus on everything in it.

    But the class diagram in C# project is focus on the detail of form or class. You can add summaries to all the filed, properties, methods and events.  It can add class and modify them easily.

    Here is some information about UML modeling projects and class diagrams:

    Visual Studio 2010: UML modeling projects: http://weblogs.asp.net/gunnarpeipman/archive/2009/11/04/visual-studio-2010-uml-modeling-projects.aspx 

    Working with Class Diagrams (Class Designer): http://msdn.microsoft.com/en-us/library/33864ckt.aspx 

    Hope this helps.


    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

    2012年3月21日 上午 06:19
  • Hi JBLENNON,

    We haven’t heard from you for several days. I’d like to mark the helpful replies as answer firstly. If you have any additional questions, you also can unmark the replay and post your question here. 

    Sorry for any inconvenience and have a nice day.


    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

    2012年3月27日 上午 08:00