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.

(void)save
SampleApp_Customer *customer = [ SampleApp_Customer find: 32]
//Change some sttribute of the customer record
customer.fname= @"New Name";
[customer save];