New answers tagged

2

You could make your object graph immutable and model updates as operations on an immutable data structure. In general, if you want to build a new version of an immutable data structure you do not need to copy the whole data structure, but only the parts that are mutated. So you could write to disk the current immutable version of the object graph while ...


0

I did some research and testing and here are my results: Analysis We have several possibilities when reading and writing messages for web services under the .Net platform. Strongly Typed Classes using XmlSerializer Strongly Typed Classes implementing IXmlSerializable Strongly Typed Classes using Data Contract Serializer Loading to XElement/Document and ...


0

When you add a new column to a database table, you will usually either give the column a default or update the current rows in the same script. You're sort of doing the same thing here, just with the extra indirection of having a serialized string instead of a table, it's a little trickier. Many SQL implementations have tools for parsing and writing XML, so ...



Top 50 recent answers are included