updateEntry:withError: method

This method call is associated with a HTTP PUT request, that is, a modification on the existing resource of a collection.

Syntax

- ( BOOL ) updateEntry : ( ODataEntry * ) entry withError : ( NSError ** ) error

Parameters

Returns

Boolean to indicate the outcome of the operation.
 id<Caching> cacheLocal = [[Cache alloc] init];
 NSError* error = nil;
 ODataEntry* updateEntry = updateEntryWithChangedValues();
 if ([cacheLocal updateEntry:updateEntry withError:&error]) {
     NSLog("Update Entry Error : %@", error);
     return;
 }