Is there a way to make the parent object know about the child's info? If not, then I guess I will return a serialized version of the data, as opposed to a parent object which is then serialized.
So is there a way for the parent object to know about the child's info, to make it persistant so that when serialization takes place it knows? I'm guessing not....
Main Topics
Browse All Topics





by: oobaylyPosted on 2009-04-22 at 08:50:11ID: 24206261
I assume the the loss of information are the properties in unique to cHP3245A_testParam, and the information succesfuly serialised is that which is defined in cMasterTest?
As you're casting the cHP3245A_testParam to cMasterTest, the serializer is only serialising the properties in cMasterTest (It doesn't know about the properties in cHP3245A_testParam).