c# - How to create a dataset from an xsd schema in Visual studio 2010 -
I searched it here and on MSDN, but they did not get a satisfactory answer because things changed from 2005/2008 to 2010. Or I do not know how to use VS IDE, what is it that I want to have an XSD file and I want to find action on it. For this I thought I would need this class and the way to go dataset. I created a dataset from the file system (it does not want to be complicated) and while trying to add schema and xsd to me, I have also read that there is a way to create a class (ORM) whenever I change the schema I do, the class also updates.
Links to MSDN articles that I have read:
Yes XSD.exe (among other things) will generate a Dataset for a C # class and / or a given schema (use the / c switch to create classes to create datasets and / d).
If you are using VS.net 2008 (and possibly VSNet 2010, I do not have 2010), you can right click on your project and by selecting "Add new item" You can select the Dataset template and the IDE will automatically generate class files.
Comments
Post a Comment