Last post Oct 11, 2016 03:05 AM by Chris Zhao
Oct 10, 2016 12:47 PM|Aglo|LINK
There is a webservce WCF. When i generate xsd for the WS, the maxOccurs property for the array element shows as unbounded
I need to set the property maxOccurs by specific value, what is the way to do this?
Oct 11, 2016 03:05 AM|Chris Zhao|LINK
For binding classes with XML Schema complex types, the .NET Framework does not provide a direct programming language equivalent to the maxOccurs or minOccurs attribute.
When generating an XML Schema document from a set of classes in an assembly, Xsd.exe reverses the preceding conversions, producing a maxOccurs value of 1 from a single instance and a maxOccurs value of unbounded from an array.