xml序列化忽略某个字段

        [XmlIgnore]
        public int Id { get; set; }
原文地址:https://www.cnblogs.com/i80386/p/2623928.html