Partial Updates - gravbox/Gravitybox.Datastore GitHub Wiki

The update functionality is simple in that every write operation is an upsert. If one selects an object, changes it and pushes it back into the repository, the existing object will be updated. If the object’s primary key does not exist in the repository, a new object will be created. It is useful to also update a set of fields for an existing object without first selecting the existing objects. Any number of fields can be updated in one query.

repo.Update .Where(v => v.ID == 1) .Field(x => x.Field1, 9) .Commit();