title: RIA does not generate all proxy entities
body: <p>Framework: Silverlight 4 + Entity Framework 4 (SL business application: SL project and .WEB project in a solution)</p>
  
  <p>I have two classes in my Data Layer (not mapped to DB, created manually - I need them for specific view)</p>
  
  <pre><code>[EnableClientAccess]
  public class CityInfoFull
  {
      [Key]
      public int Id { get; set; }
  
      public String Country{ get; set; }
      public String Region { get; set; }
      public String City { get; set; }
      public int Population { get; set; }
      public DateTime Founded { get; set; }
  }
  </code></pre>
  
  <p>The RIA generates the appropriate proxy class in the Geography.Web.g.cs</p>
  
  <p>In the same namespace, I have another class:</p>
  
  <pre><code>[EnableClientAccess]
  public class Person
  {
      [Key]
      public int Id { get; set; }
  
      public String FullName { get; set; }
      public DateTime DateOfBirth { get; set; }
  }
  </code></pre>
  
  <p>However, RIA does not want to generate the proxy for this class. I need the proxy in Silverlight application and it is not generated. </p>
  
  <p><strong>What could be the reason for that? I don't know where to look anymore.</strong></p>
  
  <p>I've tried:</p>
  
  <ul>
  <li>Checked that the file is set to Compile</li>
  <li>Checked that the file is in the appropriate namespace</li>
  <li>Rebuilt the web project that contains the file</li>
  <li>Rebuilt the SL project</li>
  <li>Deleted the .g.cs file and rebuilt the projects.</li>
  <li>Checked if any other proxy classes are generated. (I have found out that any new class I create won't have the proxy, but if I change already existing classes, their proxies will be updated. But no new proxies are created. It seems that only the classes created before some point are generated and everything created since then does not get its proxy, not even if I delete the .g.cs and let RIA regenerate the .g.cs).</li>
  </ul>
  
  <p><strong>None of this worked. What else can I do?</strong></p>