title: OData Delta used in PATCH cannot update nested object
body: <p>I am trying to create a Controller in an Azure Mobile Services project with a Patch method that takes my entity, structured like this:</p>
  
  <pre><code>public class Page 
  {
          public Page() { }
          public int Color { get; set; }
          public Point Offset { get; set; }
  }
  </code></pre>
  
  <p>where the class Point looks like this:</p>
  
  <pre><code>public class Point
  {
          public Point() { }
          public double X { get; set; }
          public double Y { get; set; }
  }
  </code></pre>
  
  <p>The model, created with CodeFirst strategy using EntityFramework, produces a table with the columns <code>Color</code>, <code>Offset_X</code> and <code>Offset_Y</code>.</p>
  
  <p>Unfortunately the <code>Offset_X</code> and <code>Offset_Y</code> columns are not updated when the Patch method is invoked (while they are correctly populated in the Post method).</p>
  
  <p>My PATCH request body looks like this:</p>
  
  <pre><code>{
   "Color":16755404,
   "Offset": {
     "X":20.0,
     "Y":40.0
   }
  }
  </code></pre>
  
  <p>I am using the following NuGet packages:</p>
  
  <ul>
  <li>Microsoft.Data.OData.5.8.3 </li>
  <li>Microsoft.Data.Edm.5.8.3</li>
  <li>Microsoft.AspNet.WebApi.OData.5.7.0   </li>
  <li>Microsoft.Azure.Mobile.Server.2.0.0</li>
  </ul>
  
  <p>How can I make my controller update such properties? Or should I work on the model of the entity?</p>
  
  <p>Any help is very appreciated!!</p>