JCooney.NET

Joseph Cooney's Weblog

My Links

Blog Stats

News

I work for:


see also:
Dominic Cooney
Patrick Cooney

Archives

Image Galleries

My GotDotNet Samples

kzu on XSD-based code generation on MSDN

XML MVP and avid bath-reader Daniel Cazzulino has written a cool article on the MSDN about customizing generated code by manipulating CodeDom object graphs when creating a “custom class” from an XML Schema (these object graphs are generated by the same framework classes that are used by xsd.exe when you give it the /classes command line switch). If this sounds somewhat similar to the CodeDom object graph manipulations that I was doing in my recent typed dataset sample then it should. I based some of my CodeDom manipulation code on stuff that Daniel posted a while ago. Unfortunately I had to almost totally re-write it to work with the object graphs that are created when generating typed datasets, but it got me started in the right direction. It is cool to know that the framework developers had extensibility in mind when they created these tools.

posted on Tuesday, May 25, 2004 12:26 AM

Feedback

No comments posted yet.
Title  
Name  
Url
Security Word (prevent comment spam)
Protected by FormShield
Comments