title: Azure DocumentDB - Insert object to document array?
body: <p>I'm developing a simple question-answers forum. I want to use Azure DocumentDB.</p>
  
  <p>How can i add an answer to existing question document in DocumentDB?</p>
  
  <p>In my case i've done a list of answers of the same type as question:</p>
  
  <pre><code>public List&lt;Announcement&gt;  { get; set; }
  </code></pre>
  
  <p>My document object looks as follows:</p>
  
  <pre><code>public class Announcement
  {
      [JsonProperty(PropertyName = "id")]
      public string ID { get; set; }
  
      [JsonProperty(PropertyName = "userid")]
      public int UserID { get; set; }
  
      [JsonProperty(PropertyName = "username")]
      public string UserName { get; set; }
  
      [JsonProperty(PropertyName = "useripaddress")]
      public string UserIPAddress { get; set; }
  
      [JsonProperty(PropertyName = "body")]
      public string Body { get; set; }
  
      [JsonProperty(PropertyName = "tags")]
      public List&lt;string&gt; Tags { get; set; }
  
      [JsonProperty(PropertyName = "datecreate")]
      public DateTime DateCreate { get; set; }
  
      [JsonProperty(PropertyName = "isedited")]
      public bool IsEdited { get; set; }
  
      [JsonProperty(PropertyName = "dateedit")]
      public DateTime DateEdit { get; set; }
  
      [JsonProperty(PropertyName = "imageaddonid")]
      public string ImageAddonId { get; set; }
  
      [JsonProperty(PropertyName = "imageaddonsource")]
      public string ImageAddonSource { get; set; }
  
      [JsonProperty(PropertyName = "answers")]
      public List&lt;Announcement&gt;  { get; set; }
  
  }
  </code></pre>
  
  <p>I don't see any update methods in DocumentClient :/.</p>