I want to add some child objects to my parent proxy stub to send over the wire. I added a partial class of the type parentproxy and marked up the properties with the Datamember attribute. However, they did not show up on the client after running svcUtil. I had to add the properties to the generated parentproxy to get them to show up.
What is the best way to customize the datacontract proxies? I need to be able to send up some of the child info when creating the parent and have it all saved at once, and since the proxystubs do no serialize child elements, it appears the only way to do this is to add the properties to the generated proxies.
OOPS -----
I included in the existing class in the file, rather than standing alone as it's own. But if you have comments on the best ways to customize a data contract, i'M still all ears.