This Project was inspired by the post by Oleg Sych at http://www.olegsych.com/2010/01/uml-modeling-and-code-generation-in-visual-studio-2010/

How to Install

You need Visual Studio 2010 Ultimate to test this code

Install Visual Studio 2010 SDK - url=http://www.microsoft.com/downloads/en/details.aspx?FamilyID=47305cf4-2bea-43c0-91cd-1b853602dcc5&displaylang=en

Download the code and unzip it.

Copy the .profile file to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\Team Architecture\UmlProfiles

Modify the extension.vsixmanifest file in the same directory adding a new CustomExtension :
<CustomExtension Type=“Microsoft.VisualStudio.UmlProfile“>Sql2008Database.profile</CustomExtension>

VS 2010 needs to be restarted

Open the solution that was in the .zip file

You can see the class model and will notice the new uml profile

The T4 template in class library can generate SQL script when you run it.



Last edited Dec 25, 2010 at 7:00 PM by DennesTorres, version 2

Comments

No comments yet.