是否可以强制 xsd.exe 生成自动实现的属性,而不是 xsd.exe 生成的丑陋的手动实现代码?
public abstract partial class SomeClass {
private string valueField;
/// <remarks/>
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
this.valueField = value;
}
}
}