The create, update, and delete and related operations allow you to perform operations on data on the local client database, and to propagate that data to the Unwired Server.
Create Operation
The create operation allows the client to create a new record in the local database. To propagate the changes to the server, call submitPending.
Update Operation
The update operation updates a record in the local database on the device. To propagate the changes to the server, call submitPending.
Delete Operation
The delete operation allows the client to delete a new record in the local database. To propagate the changes to the server, call submitPending.
Save Operation
The save operation saves a record to the local database. In the case of an existing record, a save operation calls the update operation. If a record does not exist, the save operation creates a new record.
Other Operation
Operations other than create, update, or delete operations are called “other” operations.
Multilevel Insert (MLI)
Multilevel insert allows a single synchronization to execute a chain of related insert operations. This example demonstrates a multilevel insert:
Pending Operation
There are five methods you can use to manage the pending state.