Occurs when the current Object Space's BaseObjectSpace.IsModified state is changed.
The ModifiedChanged event handler receives an argument of the EventArgs type.
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.