Occurs when the state of the event changes.
The DbConnection.StateChange event occurs when the state of the event changes from closed to opened, or opened to closed.