title: Visual Studio: generating code upon xsd problems with integers
body: <p>Can anyone tell me, why integer elements in xsd are being converted in String fields?</p>
  
  <pre><code>&lt;xs:element name="OwnerID" type="xs:integer"/&gt;
  </code></pre>
  
  <p>into</p>
  
  <pre><code>[System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
  public string OwnerID
  {
      get
      {
          return this.ownerIDField;
      }
      set
      {
          this.ownerIDField = value;
      }
  }
  </code></pre>
  
  <p>my first assumption that all fields are strings attributed by real datatype was not right - dates are interpretered as dates, bools as bools  - what's wrong with integer?</p>
  
  <p>Thanks in advance!</p>