UML modeling and code generation in Visual Studio 2010
This article provides an overview of UML modeling in Visual Studio 2010. Assuming that reader is already familiar with UML, it focuses on custom UML profiles - an extensibility mechanism that can be used to tailor UML models to a particular problem domain. Readers will see an example of such a profile, which extends UML Class Diagrams for database modeling. Finally, the article shows how code can be generated from UML models using T4 text templates. This article is based on Beta 2 of Visual Studio 2010 Ultimate Edition. To follow the code example you may also want to install T4 Editor which provides color syntax highlighting and IntelliSense for text templates in Visual Studio. UML Modeling in Visual Studio In order to start using UML diagrams in Visual Studio 2010, you first need to create a Modeling Project. Once you have the project created, you can add new diagrams to it. Here is an example of class diagram you can create. UML Profiles Custom UML Profiles Sample Database Profile <? UML vs.