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
SUP101Customer *customer = [ SUP101Customer find: 32]
//Change some sttribute of the customer record
customer.fname= @"New Name";
[customer save];
[SUP101SUP101DB synchronize];