We've been struggling with the rather arduous task of upgrading (rebuilding) our model from DevForce 2009 to DevForce 2010. We're nearing the end of the transition, and ran into something unexpected. Some of our partial classes have fields that get initialized (example: bool someField = true;). Well, in DevForce 2009, after fetching the entity via the entity manager, the fields in our partial classes were initialized properly, however in DevForce 2010 this does not appear to be the case. It appears that the initializer is hit on the server but not on the client, and for whatever reason those fields are also not being serialized. We also don't appear to be hitting the entity contructor on the client.
What is the best strategy for initializing partial class fields so that they're correctly initialized on the client?