/* WCF API */ public void UpdateConsumerData(CustomerData customerData) { } [DataContract] public class CustomerData { List<string> name = null; List<string> id = null; [DataMember] public List<string> Name { get { return name; } set { name = value; } } [DataMember] public List<string> Id { get { return id; } set { id = value; } } }
<xs:complexType name="CustomerData">- <xs:sequence> <xs:element name="Name" type="q1:ArrayOfstring" minOccurs="0" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/> <xs:element name="Id" type="q2:ArrayOfstring" minOccurs="0" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/> </xs:sequence> </xs:complexType>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)