May 2019
Intermediate to advanced
504 pages
11h 50m
English
If you're planning on integrating the storage-level operations with triggers and/or change feed, a soft-delete implementation can be used instead of implementing the complete removal of objects. In the soft-delete approach, we can extend our entity model with a specific property (for example, isDeleted) that will define that the document is deleted by the consuming application.
In this setup, the consuming application can make use of the PATCH method that was implemented or an explicit DELETE method, which can be implemented for our entity services.
Let's take a look at the following PATCH request:
PATCH /odata/auctions('3634031a-1f45-4aa0-9385-5e2c86795c49')[ { "op": "test", "path": "_ts", "value": 1552741629 ...Read now
Unlock full access