开发者

how to load c# object side by side

We have serialized value 开发者_运维技巧of some objects persisted. Now we want to make substantial changes to some objects.

So what i want to do is load older version of object using old assembly then deserialize and serialize again with newer version of the object. I can have convert method which can transform old object to new one.

i have been converting object on fly on deserializer but in this case it's almost new object with same name.


So you just need a one time conversion, right? How about using XmlSerializer as the intermediate?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜