## 22 EOEditingContext class

### 22.1 overview

An editing context is responsible for managing changes to enterprise objects and provides the ability to save and undo those changes. Including inserts, updates, and deletes.

Typical methods of the EOEditingContext class:

1. -saveChanges:
2. -revert:
3. -undo:
4. -redo:
5. -insertObject:
6. -deleteObject:

You may have noticed that there is no mention of a method for modifying an object through an EOEditingContext. As you will modify the objects directly, and EOEditingContext will merely take note of the changes, and save snapshots of the objects as they are being modified so you can undo those changes.