title: SPMetal not generating classes with proper custom types. Defaulting for everything to 'Item'
body: <p>I'm trying to generate classes using SPMetal to make use of SPLINQ.
  Generating the code is no problem, except the properties are not typed properly.</p>
  
  <p>This is fraction of the code: </p>
  
  <pre><code>[Microsoft.SharePoint.Linq.ListAttribute(Name="Actual Purchase Orders")]
  public Microsoft.SharePoint.Linq.EntityList&lt;Item&gt; ActualPurchaseOrders {
      get {
          return this.GetList&lt;Item&gt;("Actual Purchase Orders");
      }
  }
  </code></pre>
  
  <p>As you can see the return type is defined as <code>Microsoft.SharePoint.Linq.EntityList&lt;Item&gt;</code>. While I'd like it to be <code>Microsoft.SharePoint.Linq.EntityList&lt;ActualPurchaseOrder&gt;</code>.
  This is the same case for all lists and all properties for all list. The only properly typed properties are the sharepoint internal ones like Link, Document, HelpFilesDocument, etc.</p>
  
  <p>I checked all list settings, like content types etc. No luck.</p>
  
  <p>Is it just a bug in my 14.0.4763.1000 version?</p>
  
  <p>Any help appreciated.
  Cheers.</p>