Menu

#8 Remove class attribute and rename Element

v1.0 (example)
open
None
5
2018-04-12
2018-04-12
No

I have a list of objects that derive from a base class (Query) and when the list is serialized out each object has the base class name and an attribute of the derived class name:
Example
<queries>
<query class=""></query>
<query class=""></query>
</queries>

Is there a way to get the element name to be just the derived classes name?
<queries>
< GetBulkQuery></ GetBulkQuery >
< GetQuery"></ GetQuery >
</queries>

Discussion


Log in to post a comment.