title: Custom class with an entity and RIA Services/Silverlight
body: <p>I have a class with looks like this:</p>
  
  <pre><code>[DataContract]
  public class TestBatchWithHistoryResult
  {
      [Key]
      [DataMember]
      public int Id { get; set; }
      [DataMember]
      public string Name { get; set; }
      [DataMember]
      public string Description { get; set; }
      [DataMember]
      public string LastRequestedBy { get; set; }
      [DataMember]
      public DateTime? LastRun { get; set; }
      [DataMember]
      public Collection&lt;string&gt; LastConfigurations { get; set; }
      [DataMember]
      public TestBatch Entity { get; set; }
  }
  </code></pre>
  
  <p>When I build the website and Silverlight project and find that the Entity property is not created in the "auto-generated" code on the Silverlight side, but all the other properties are present.</p>
  
  <p>What could be preventing the Entity property from being created?</p>
  
  <p>Thanks</p>
  
  <p>Michael</p>