It's obvious I'm missing something here, not you. ;) I am rather new to working with seralization and WCF.
I left the calculation out for brevity. TotalPremium is a read only property on the entity, and is where the calculation happens. As far as the proxy class is concerned, it is the same as another data column. And since the proxy is serialized after the entity exists, I didn't think the order mattered. Am I wrong?
I looked at how the generated proxy classes work, and they do essentially the same thing I am doing. They don't seem to have a private variable. They have a getter and setter that work directly on the entity value. But since my extra calculated property on the entity doesn't have a setter, as it doesn't make sense, I left that out.
As far as where the data is saved, I assumed the XML when serialized. The client side proxy class has a property with a backing store to save it, but I looked at the generated XML from the server side proxy and this property is not there, so I don't think the problem lies on that side. It has to be that I'm doing something wrong on the server side.