更新时间:2022-10-14 22:56:35
所以你可以手动使用xsd工具来生成类。
请参阅 https://msdn.microsoft.com/en-us/library/ x6c1kb0s(v = VS.100).aspx [ ^ ]
用于文档。
您可以在.NET SDK文件夹中找到该工具。例如C:\Program Files(x86)\ Mysoftoft SDKs \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ BR />
I have complex type (EmployeeInfo) defined in an .xsd file. So how can i use that type in my C# Web Service class? I already done lot of search on Google but can't find proper information.
Thanks in advance.So you can use the xsd Tool manually to generate the classes.
See https://msdn.microsoft.com/en-us/library/x6c1kb0s(v=VS.100).aspx[^]
for documentation.
You find the tool in the .NET SDK Folder. E.gC:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools