Darren,
Yes. That will give you the current Employee. Then, if you want to change the First Name to "Nancy", just write:
mEmployee.FirstName = "Nancy"
Now, to save all the changes in the application, use something like this:
private void SaveAllChanges() {
if (mPersMgr.HasChanges()) {
try {
mPersMgr.SaveChanges();
MessageBox.Show("Changes saved to database");
} catch (PersistenceManagerSaveException ex) {
MessageBox.Show("Errors saving changes to database: \n\n"
+ ex.SaveResult.Exception.ToString());
}
} else { MessageBox.Show("No changes to save"); }
}
If you want just to save the one employee, put the single employee in an EntityList and do a SaveChanges on the EntityList.