A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How can I get an XSD or programmatically interrogate a Visio model from C# (for code generation)?



 
 
Thread Tools Display Modes
  #1  
Old August 30th, 2005, 11:28 PM
news.microsoft.com
external usenet poster
 
Posts: n/a
Default 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  
Old August 31st, 2005, 01:36 PM
Scot Becker
external usenet poster
 
Posts: n/a
Default 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  
Old September 1st, 2005, 03:56 PM
Sean
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 01:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.