XSD2Code supports the DataContract
and Datamember
attributes.
Build WebService Based on XSD (According to IFX Protocol)
-
13-10-2022 - |
문제
I was given a task to build a web service based on IFX Standard XSD file.
I have got the listed files.
What I've done so far is - used xsd.exe (.net tool) and generated classes based on xsd. Here is what it looks like (notice the scroll size):
For the test scenario I have applied [DataMember] attribute to the class member. And that's the way I intend exchange class objects.
Is this a normal approach? I have to apply attributes to hundreds of classes by hand and I guess it'll be nightmare to maintain the code.
올바른 솔루션이 없습니다
다른 팁
제휴하지 않습니다 StackOverflow