Try tagging the new properties with XmlAttributeAttribute. Simple types,
like strings, enums, and ints that are represented as attributes need the
flag, but complex types do not need XmlElementAttribute
I tried all kinds of Attributes but nonee of them worked, nothing
changes the XML with all my attributes.
I suspect that the DataTable serialization process overrides the
serialization of the whole class and just ignore my fields.
This is really weird and besides getting rid of my inheritance of the
DataTable class (which is not a valid solution) I dont know wwhat I
can do to go around this problem !
Any idea about what is happening ?
Thanks in advance.
Sylvain
On Feb 22, 10:33 pm, "Keith Patrick"
<richard_keith_patr...@nospam.hotmail.com> wrote:
> Try tagging the new properties with XmlAttributeAttribute. Simple types,
> like strings, enums, and ints that are represented as attributes need the
> flag, but complex types do not need XmlElementAttribute