If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How can I get an XSD or programmatically interrogate a Visio model from C# (for code generation)?
Hi folks. I'm trying to do code-generation based on a Visio model. Up till
now I've been basing my generated code on the structure of the database generated by Visio. That's got me most of the way, but I now need information that never gets into the database structure (e.g. the verbs on joins). Ideally I'd like to get an XSD representation of the ORM model, that'd make my job a lot easier. However I'd settle for just being able to gain access to the information by hooking into Visio from C#. Can anyone offer any suggestions or pointers? Thanks Sean |
#2
|
|||
|
|||
How can I get an XSD or programmatically interrogate a Visio model from C# (for code generation)?
Hi Sean,
Check out the toolbox on my website (free, URL below). It will export the ORM and ER metadata as XML. Along with that is some sample XSLT that will render XSD from the ER model. Hope that helps, Scot. ........................... Scot Becker Orthogonal Software www.orthogonalsoftware.com ORM Protal/Blog: www.objectrolemodeling.com "news.microsoft.com" wrote in message ... Hi folks. I'm trying to do code-generation based on a Visio model. Up till now I've been basing my generated code on the structure of the database generated by Visio. That's got me most of the way, but I now need information that never gets into the database structure (e.g. the verbs on joins). Ideally I'd like to get an XSD representation of the ORM model, that'd make my job a lot easier. However I'd settle for just being able to gain access to the information by hooking into Visio from C#. Can anyone offer any suggestions or pointers? Thanks Sean |
#3
|
|||
|
|||
How can I get an XSD or programmatically interrogate a Visio model from C# (for code generation)?
Excellent, thanks Scot. We've gone a different way for now, to avoid a
dependence on using Visio for every project we want to generate code for. However there's a very good chance that the toolkit could prove very useful later on. Thanks, Sean "Scot Becker" wrote in message ... Hi Sean, Check out the toolbox on my website (free, URL below). It will export the ORM and ER metadata as XML. Along with that is some sample XSLT that will render XSD from the ER model. Hope that helps, Scot. .......................... Scot Becker Orthogonal Software www.orthogonalsoftware.com ORM Protal/Blog: www.objectrolemodeling.com "news.microsoft.com" wrote in message ... Hi folks. I'm trying to do code-generation based on a Visio model. Up till now I've been basing my generated code on the structure of the database generated by Visio. That's got me most of the way, but I now need information that never gets into the database structure (e.g. the verbs on joins). Ideally I'd like to get an XSD representation of the ORM model, that'd make my job a lot easier. However I'd settle for just being able to gain access to the information by hooking into Visio from C#. Can anyone offer any suggestions or pointers? Thanks Sean |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Who worked with Visio 2003 and installed SP2? | Patrick | Visio | 1 | June 29th, 2005 02:34 PM |
I cant open the properties window from visio 2002 uml model diagr. | Majilla | Visio | 2 | May 16th, 2005 07:49 PM |
Message: wait while visio updates its directory cache | Patrick | Visio | 0 | November 17th, 2004 04:31 PM |
how do you generate database from database model diagram in visio. | alimac | Visio | 2 | September 9th, 2004 07:29 AM |
Visio Pro 2003 crashes when trying to ope a Database Diagram Model | mrlegend90 | Visio | 2 | August 7th, 2004 07:02 PM |