The refresh operation of an MBO allows you to refresh the MBO state from the client database.
For example:
Customer cust = Customer.findById(101); cust.setFname("newName"); cust.refresh();// newName is discarded
Customer cust = Customer.FindByPrimaryKey(101); cust.Fname = "newName"; cust.Refresh();// newName is discarded
Customer *cust = [Customer findById:101]; cust.fname = @"newName"; [cust refresh]; // newName is discarded
if (!(mboInstance.isNew)) [mboInstance refresh];