on 06-27-2014 5:52 AM
I've spent the last few hours trying to figure out why any item I delete is being Synchronized with the SUP Cache.
It seems the only way to delete an instance of an MBO you create is to call CancelPending().
I've read the Documentation and it says to call Delete(), but delete doesn't get generated with any implementation.
The Delete function is generated like so:
public void Delete() { throw new Sybase.Persistence.NoSuchOperationException(); }
So when I call CancelPending() on the MBO instance I want to delete, it removes it locally, but when the device Synchronizes it sends all pending objects, including deleted ones, to the Sybase Server.
It appears as though when it performs the Synchronization it is rolling back the deletions sending them to the server then committing the changes on the device.
Regards
Anupam
Hello Anupam,
I ran in a similiar problem and finally started to read the documentation, which says:
cancelPending – cancels the previous create, update, or delete operations on the MBO. It cannot cancel submitted operations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.