'[Serializable]
public class ABC
{
public ABC()
{
this.AttributeList = new List<DEF>();
}
[XmlAttribute]
public string EntityName { get; set; }
[XmlAttribute]
public bool IsManual { get; set; }
public List<DEF> AttributeList { get; set; }
}`
I need to skip some xml attributes during deserialization process. But they should be available while serialization.
I want all the attributes including AttributeList to be serialized. But during deserialization AttributeList must be ignored. Is it possible? (I can't use [XMLIgnore].)