I need to synch with records stored from server time to time and the way I've been trying to do that is delete all the records in a table and than pull from the server. The issue with this approach is that if you try to resave something that was deleted, it is cached and pulls the deleted one by primary key. Would it be possible to clear the cache before or after a delete so when they are pulled from the server, it does not blow up?
I need to synch with records stored from server time to time and the way I've been trying to do that is delete all the records in a table and than pull from the server. The issue with this approach is that if you try to resave something that was deleted, it is cached and pulls the deleted one by primary key. Would it be possible to clear the cache before or after a delete so when they are pulled from the server, it does not blow up?