title: How can I get automatic properties in my class generated from XSD?
body: <p>Is there any way to get automatic properties in my class file that's generated from xsd? I am using Xsd2code and have tried the following command.</p>
  
  <pre><code>c:\xsd2code  q2test.xsd /n ContractXml /pl Net35 /ap[+] /xa[+]
  </code></pre>
  
  <p>It doesn't generate automatic properties. It generates something like this:</p>
  
  <pre><code>        public string AssetHdrId {
              get {
                  return this.assetHdrIdField;
              }
              set {
                  this.assetHdrIdField = value;
              }
          }
  
  private string assetHdrIdField;
  </code></pre>
  
  <p>I want something simple like
                    public string AssetHdrId{get;set;}</p>
  
  <p>I have around 355 properties in my class and I wanted to ask around before changing each one of them manually.</p>