title: How to access Entity type members in POCO class?
body: <p>I am pondering over my <a href="https://stackoverflow.com/questions/8960944/cannot-access-entityobject-type-via-ria-services">previous question</a> and was wondering whether a <a href="http://msdn.microsoft.com/en-us/library/ie/gg602754%28v=vs.91%29.aspx" rel="nofollow noreferrer">POCO class</a> can have a member of Entity Object type that can be accessed from client via RIA service. </p>
  
  <pre><code>public class CompositeData
  {
      [Key]
      public Guid PKey { get; set; }
      public string CompositeName { get; set; } 
      public string Identity { get; set; }
      public Product CurrentProduct { get; set; }  //Product is an auto-generated EntityObject class
  
      public CompositeData()
      {
          PKey = Guid.NewGuid();
      }
  }
  </code></pre>