Transforming UML models into C# code

This tour describes the process of using Rational Modeling Extension for Microsoft .NET to transform UML diagrams into C# code.

IBM Rational modeling offerings simplify C# application development by providing tools to help you visualize existing code, model components, and transform elements between models and C# code. You begin by importing an open .NET solution to an Eclipse workspace. This provides a view to your .NET solution, a target for UML-to-C# forward transformations, and a source for C#-to-UML reverse transformations.

After you capture the design of your application in UML conceptual models, you can run a UML-to-C# transformation to generate the C# code for further development with Microsoft Visual Studio. Alternately, you can apply a code-to-model transform in order to reconcile code that has been under development with an existing model or to create a new conceptual model of your application.

Before you can apply a transformation to a source model, you must create a transformation configuration. A transformation configuration contains the information that the transformation uses to generate the output that you expect. A transformation configuration also contains information that is specific to a particular type of transformation, such as a unique name and the source and target of the transformation.

Learning objectives

This tour describes model-driven development as it relates to transforming models into C# code. Specifically, this tour describes the following things:

Time required

7 minutes and 30 seconds

Feedback