You can use XSD.EXE and the command will look something like this:
XSD.EXE your.xsd /c
The generated source has several quirks:
- It generates
[SerializableAttribute], [XmlTypeAttribute], [XmlRootAttribute]and so on, and not [DataContract], and [DataMember]that may (not) be an issue for you. - It defines child / detail structures using arrays inside, not general
List<T>structures.
( ), . , .