title: Ria services: simple >>object<< properties/fields not appearing on the client side
body: <p>I'm using Ria services,
  My POCO object has <strong>simple object properties/fields</strong>. But they are not appearing on the client side.
  Please help,
  My POCO:</p>
  
  <pre><code>[EnableClientAccess]
  [DataContract]
  public class DataRow
  {
     [DataMember]
     [Key]
     public int RowId { get; set; }
     [DataMember] public &gt;&gt;&gt;object[]&lt;&lt;&lt; FieldValue { get; set; };
     public DataRow()
     {
  
     }
  }
  </code></pre>
  
  <p>I tried field instead property with getter/setter
  I tried <code>&gt;&gt;&gt;object&lt;&lt;&lt; FieldValue { get; set; } (NOT ARRAY), IEnumerable&lt;object&gt;</code> ...
  Same results.
  <strong>Using WCF I can do it</strong>.
  For ex. I Have this contract in my wcf service (for sharepoint)</p>
  
  <pre><code>[DataContract]
  public class SPFieldValueStub
  {
      //[DataMember]
      //public virtual int ListItemIndex { get; set; }
      [DataMember]
      public virtual object Raw { get; set; }
      [DataMember]
      public virtual object Formatted { get; set; }
      [DataMember]
      public virtual IEnumerable&lt;SPFieldValueStub&gt; References { get; set; }
      [DataMember]
      public virtual IEnumerable&lt;object&gt; Properties { get; set; }
      [DataMember]
      public virtual SPFieldStub Field { get; set; }
  }
  [DataContract]
  public class SPListItemStub
  {
      [DataMember]
      public virtual IEnumerable&lt;SPFieldValueStub&gt; Values { get; set; }
  
  }
  </code></pre>
  
  <p>in service implementation I can read data from sharepoint list populate my POCO and return to client. After that I can retrieve POCO's on the client side via generated proxy methods and unwrap (unbox) objects to real types (works fpr me String/Uri/DateTime). I need to do so with RIA.</p>