I need get an xs complexType element with this structure:
xs:complexType name="Calls"
xs:sequence
xs:element name="Call" type="m:Call" minOccurs="1" maxOccurs="unbounded"
xs:sequence
xs:complexType
I tried generate with Xsd the Datacontracts and when run my code I got minOccurs="0"
and maxOccurs=unbounded
and when used XMLSerializer and IsRequired = True
doesn´t work
There is some way to get this?
My base class begins with:
public partial class Calls : System.Collections.Generic.List<Call>
Thanks for your help.
Comments
Post a Comment