I want to know if it is possible to change the base of the element name under some condition ... something like this:
[XmlRoot(ElementName=BaseEntity.useShortTag==false?"a0912":"Product")] public class Product : ONIX.Entities.BaseEntity { public Product() { } public string RecordReference { get; set; } }
Vilasack
source share