p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Framework 3.5 (http://p2p.wrox.com/forumdisplay.php?f=355)
-   -   dynamic compilation of class based on xsd (http://p2p.wrox.com/showthread.php?t=69210)

vhrao July 7th, 2008 03:53 PM

dynamic compilation of class based on xsd
 
I know that there are classes like ICodeCompiler where in I can create dynamic instances of a class. For example:
ICodeCompiler comp = new CSharpCodeProvider().CreateCompiler();
After this I can go on and create a class and add it runtime to a dll.

Similarly, I want to point to a xsd and create a dynamic class and add it to a dll in run time. ( I know from command line I can do this using xsd.exe, but I want to avoid it.) Then I want to instantiate and object from the created class and populate it by reading the xml. Are there any classes in .NET that can do this?
Is this even possible?



All times are GMT -4. The time now is 03:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.