Occurs when the current Object Space's BaseObjectSpace.IsModified state is changed.
The ModifiedChanged event's data class is EventArgs.
An Object Space is considered modified when at least one persistent object belonging to it is changed (created, modified or deleted). This state is in effect until the BaseObjectSpace.CommitChanges method is called. The BaseObjectSpace.IsModified property specifies whether the Object Space is modified. After its value is changed, the ModifiedChanged event is raised. Handle this event to execute custom code.