문제

I was given a task to build a web service based on IFX Standard XSD file.

I have got the listed files. enter image description here

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):

enter image description here

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.

올바른 솔루션이 없습니다

다른 팁

XSD2Code supports the DataContract and Datamember attributes.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top