Deserialization error
I can serialize and store a class instance inside of a database cell. no problem. I can retrieve that data as well, no issues there. But if I change the class between the serialization and deserialization class, It will throw an exception because one of the class fields has been altered. How can I avoid this? Is there a way to get a finer degree of control over the serialization/deserialization process so that even if one field doesnt get deserialized correctly, the rest will?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Bechir BejaouiRank #144 · 15.9K reputationPosted Sep 19, 2009, 2:15 PM EDT
you just put the attribute [optionalField] attribute over the field which causes the problem
patrickRank #4,458 · 342 reputationPosted Sep 25, 2009, 5:41 PM EDT