I am trying to create a Controller in an Azure Mobile Services project with a Patch method that takes my entity, structured like this:

```
public class Page 
{
        public Page() { }
        public int Color { get; set; }
        public Point Offset { get; set; }
}

```

where the class Point looks like this:

```
public class Point
{
        public Point() { }
        public double X { get; set; }
        public double Y { get; set; }
}

```

The model, created with CodeFirst strategy using EntityFramework, produces a table with the columns `Color`, `Offset_X` and `Offset_Y`.

Unfortunately the `Offset_X` and `Offset_Y` columns are not updated when the Patch method is invoked (while they are correctly populated in the Post method).

My PATCH request body looks like this:

```
{
 "Color":16755404,
 "Offset": {
   "X":20.0,
   "Y":40.0
 }
}

```

I am using the following NuGet packages:

* Microsoft.Data.OData.5.8.3
* Microsoft.Data.Edm.5.8.3
* Microsoft.AspNet.WebApi.OData.5.7.0
* Microsoft.Azure.Mobile.Server.2.0.0

How can I make my controller update such properties? Or should I work on the model of the entity?

Any help is very appreciated!!