У меня есть член класса C #, например:
class Case
{
string ID;
string JurisdictionID;
}
соответствующий XSD выглядит так:
<xs:element name="CaseTrackingID" type="IDType"/>
<xs:complexType name="IDType">
<xs:sequence>
<xs:element name="ID" type="xs:string"/>
<xs:element name="IDJurisdictionText" type="xs:string" minOccurs="0"/>
<xs:element name="IDType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
Как мне аннотировать мой класс, чтобы CaseTrackingID\ID
отображался на Case.ID
, а CaseTrackingID\IDJurisdictionText
отображался на Case.JurisdictionID
?