Xml Serialization

Jan 8, 2012 at 9:16 PM
Edited Jan 8, 2012 at 9:17 PM

I think the ObjectHelper library is at just a small step of having a great usability improvement if direct Xml serialization is possible for the object ObjectDB. I just used the library with success, but 'easy' xml serialization is a requirement for me.

In the current version Xml serialization is not possible due to the use of SortedList properties (tipically associated with Partition data), that is not supported. I simply add the [XmlIgnore] attribute to those declarations (3 or 4) and - voilá - I managed to get a valid Xml of the db schema!

So I suggest these Partition data may be supported in a different way, avoiding public properties not allowed by serialization. In this way I supose the library will not require any other Xml attribute definition to support direct serialization.