R
Russ
Hi,
What's the easiest way of modifying an object which has been serialized to a
DB? The previous developer created a complex object hierarchy and binary
serialized the whole thing to a single field in SQL server. I need to
modify the object hierarchy, but every time I do so, I can no longer
deserialize the incoming data because my updated object has more members
than the original object.
The object is about 15 levels deep and contains several custom collections,
arraylists and other stuff, so I'm looking to automate this if possible.
I've looked briefly at reflection (which I believe may hold the answer) but
if there's already some popular method of achieving this out there.. Surely
someone else must have had the same problem?
Thanks,
Russ
What's the easiest way of modifying an object which has been serialized to a
DB? The previous developer created a complex object hierarchy and binary
serialized the whole thing to a single field in SQL server. I need to
modify the object hierarchy, but every time I do so, I can no longer
deserialize the incoming data because my updated object has more members
than the original object.
The object is about 15 levels deep and contains several custom collections,
arraylists and other stuff, so I'm looking to automate this if possible.
I've looked briefly at reflection (which I believe may hold the answer) but
if there's already some popular method of achieving this out there.. Surely
someone else must have had the same problem?
Thanks,
Russ