Closed pieteckhart closed 2 years ago
(using NuGet package Codaxy.Xsd2 -Version 0.10.0)
The property that is used during serialization is missing an XmlElement attribute that specifies the name:
/// <remarks/> [System.Xml.Serialization.XmlElementAttribute(DataType="date")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] public System.DateTime _SomeDate { get { return this.someDateField; } set { this.someDateField = value; } }
Resulting XML: <alias:_SomeDate>1985-10-26</alias:_SomeDate>
<alias:_SomeDate>1985-10-26</alias:_SomeDate>
I will take a swing at the code myself en will create a PR if I succeed.
EDIT: Fixed :)
(using NuGet package Codaxy.Xsd2 -Version 0.10.0)
The property that is used during serialization is missing an XmlElement attribute that specifies the name:
Resulting XML:
<alias:_SomeDate>1985-10-26</alias:_SomeDate>
I will take a swing at the code myself en will create a PR if I succeed.
EDIT: Fixed :)