How could I avoid populating the ExtendedProperties collection in my data contract?
My WCF service is building the data contract from a XML and populating the ExtendedProperties
with the properties that are not in the contract. Then they are returned and I would like to avoid that.
Clearing the ExtendedProperties
collections is the straightforward approach but I was looking for a more elegant way to do that.
Any help?