XML Ignore EntityKey
Posted: Wed 24 Mar 2021 10:13
Hello, how can i ignore the EntityKey (see below) druring XML-Serialization?
<custs>
<cust>
<EntityKey>
<EntitySetName>mdmsqryMT2CADIAdr</EntitySetName>
<EntityContainerName>mdmsEntities</EntityContainerName>
<EntityKeyValues>
<EntityKeyMember>
<Key>AdrNr</Key>
<Value xsi:type="xsd:int">10017</Value>
</EntityKeyMember>
</EntityKeyValues>
</EntityKey>
<data1>
</data1>
<data2>
</data2>
...
</cust>
</custs>
Thanks for help
regards
<custs>
<cust>
<EntityKey>
<EntitySetName>mdmsqryMT2CADIAdr</EntitySetName>
<EntityContainerName>mdmsEntities</EntityContainerName>
<EntityKeyValues>
<EntityKeyMember>
<Key>AdrNr</Key>
<Value xsi:type="xsd:int">10017</Value>
</EntityKeyMember>
</EntityKeyValues>
</EntityKey>
<data1>
</data1>
<data2>
</data2>
...
</cust>
</custs>
Thanks for help
regards