Transforming C# code into UML models

You can use the C#-to-UML transformation to create a Unified Modeling Language (UML) model from C# code.

About this task

To use the C#-to-UML transformation in a code-model-code round-trip-engineering (RTE) scenario, you must first complete specific steps to ensure that the UML-to-C# transformation updates the original code instead of generating new code skeletons. You can complete these steps in one of two approaches: the approach that you select depends on the design contract management protocol (DCMP) that you use in a project, and whether the original code is meant to be the target of subsequent UML-to-code transformations. For example, you might reverse-engineer the code into semantic UML to remove details to derive a design that you can modify and implement in a different third-generation language. For more information about the steps that you must complete, in the Related information section below, see the link to the Technote. For more information about DCMP, see the related concept topic below.


Feedback