all groups > dotnet framework > may 2006 >
You're in the

dotnet framework

group:

XSD.exe - generated classes


XSD.exe - generated classes David Jessee
5/31/2006 1:47:01 PM
dotnet framework:
I was wondering how people tend to use the classes that are generated by the
xsd.exe tool.

They're great if you need to quickly serialize/deserialize a state....but I
was wondering if people were actually using them within their applications'
business logic, or if folks are using them as an intermidiary in a Data
Re: XSD.exe - generated classes Greg Young
5/31/2006 5:20:52 PM
Well with the addition of schema importer extensions ... it becomes alot
more powerful see
http://www.topxml.com/-NET-XML-System-XML/re-8015_Ode-to-the-System-Xml-Serialization-Advanced-SchemaImporterExtension-Class.aspx
although the code in the blog is kind of messed up in my broswer you should
get an idea of the types of changes you can make.

Personally when dealing with domain objects I prefer using the scenario you
mention (mementoish pattern).

Cheers,

Greg Young
MVP - C#
http://geekswithblogs.net/gyoung

[quoted text, click to view]

AddThis Social Bookmark Button