Specify attribute in XSD for XMLIgnoreAttribute
===

How to specify an attribute in XSD so that when C# classes are generated using XSD tool that particular attribute is generated as property with XMLIgnore attribute?

How to tweak XSD or generation of C# code to get something like this,

    
    [Serializable]
    public class Person {

        public string Name { get; set; }

        [XmlIgnore]
        public string NickName { get; set; }
    }
