This example shows batch editing.
The records are added, updated and deleted locally and all the changes are committed to the server in a single transaction. The server returns the updated rows along with primary keys (Product ID) for new inserted rows.