When serializing a list, it currently cannot handle ignoring the root of the list.
Sample would be having a List
After serialization, the output would be something like this.
<MyEntities>
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
</MyEntities>
But what It should be is
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
<MyEntity>
<Name>test</Name>
<Addr>test</Addr>
</MyEntity>
This simulates the XmlElement and XmlArray comparison in the native XmlSerializer
When serializing a list, it currently cannot handle ignoring the root of the list.
Sample would be having a List
After serialization, the output would be something like this.
But what It should be is
This simulates the XmlElement and XmlArray comparison in the native XmlSerializer