Xsd in .net framework

I have an xsd file. I want to generate my entity model from this schema and serialize and deserialize. What is the recomanded.net framework and the C # way to do this? I know JAXB from java. Can I use entity structure? is there any other structure?

0
source share
2 answers

Xsd.exe is your friend. It generates C # classes from your schema. This is a command line tool built into VisualStudio: open the Vsiaul Studio command prompt, then xsd.exe /? for details

Alternatively, Xsd2Code does the same job, but integrates better with VisualStudio (this is an add-on). You will find it at codeplex.com

, EF "" xsd.

Btw, iPad - ; -)

+2

Xsd2Code , .

0

Source: https://habr.com/ru/post/1662546/


All Articles