C#-to-UML transformations

The C#-to-UML transformation transforms C# code into UML model elements.

Valid transformation sources

The source for a C#-to-UML transformation is a C# project. The C# project that you specify in the transformation configuration is one that has been imported from Visual Studio using the .NET Solution Import wizard.

Note: If you enable the reverse transformation, the reverse transformation transforms UML model elements into C# code elements and stores these code elements in the C# project that you specify.

Valid transformation targets

A valid target for a C#-to-UML transformation includes either a UML model or any folder. If a UML model is specified as the target, a temporary model is created and the Merge editor opens listing the changes; you can then accept or reject individual changes to the target model. If a folder is specified as a target, a new model that is the result of the transformation is created in the specified container and the Merge editor is not displayed.

Comparing and merging transformation output with target UML models

The C#-to-UML transformation uses the comparing and merging functionality to determine the differences between the target model and the temporary model that the transformation generates. When you run the C#-to-UML transformation, the Merge editor displays the differences between the two models. In the Merge editor dialog box, you can select the changes that the transformation merges into the target model.

Integration with team support

The transformation provides integration functionality with IBM® Rational® Team Concert, CVS, Rational ClearCase®, and Rational ClearCase LT version control systems, which enables you to automatically check out files or add new files. You must enable team capabilities to work with configuration management systems.


Feedback