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.
//Update an existing customer Customer cust = Customer.FindById(101); cust.Save(); //Insert a new customer Customer cust = new Customer(); cust.Save();