I think this thread answers your question:
http://social.msdn.microsoft.com/forums/en-US/vstsarch/thread/07b39757-eac4-49fa-81d5-8d167c9b9d21/
As mentioned in "Program.X", the link above does not work.
Short answer: Reverse code development in Visio UML models works with a combination of Visio Pro 2007 and Visual Studio Team System for Software Architects 2005. It does not work with Visio Pro 2007 and Visual Studio Team System Architecture Edition 2008. However, Visio Pro 2007 does allow reverse engineering databases.
Why ?: The ability to reverse-engineer code is now provided by all versions of Visual Studio in the form of a class constructor, where the code is constantly synchronized with the model. Additional modeling functionality will be provided in the Visual Studio Team System in the future.
Apparently, someone found a workaround for VS2008, but used it at your own peril and risk. http://www.nullify.net/Article/298.aspx
There is also an MSDN article on this subject: http://msdn.microsoft.com/en-us/library/cc947873.aspx
Peter
source share