title: RIA Services Custom Class
body: <p>Using Silverlight 3 and RIA Services I have the following class defined in my Web project:</p>
  
  <pre><code>public class RegionCurrentStates
  {
      public RegionCurrentStates()
      {
          Name = String.Empty;
          States= new List&lt;State&gt;();
      }
      [Key]
      public string Name { get; set; }
      public List&lt;State&gt; States{ get; set; }
  }
  </code></pre>
  
  <p>On the client, however, the class only shows up with the Name property. States doesn't show up anywhere. I'm assuming that I must be missing some sort of metadata but I don't know what it is.</p>
  
  <p>Edit: I should clarify that State is a LinqToSql generated class.</p>