ayende/ravendb — pull request #130 by mj1856 (2012-08-26 18:48:52+00:00)
Title: Adding Session.Advanced.ChangedEntities

Exposes the tracked entities that have been changed but not yet committed by the session.

This is useful when additional activities need to be performed for each changed entity before committing. I need it for dispatching events in a CQRS (without ES) architecture. It could also be useful for other global client-side infrastructure such as logging changes, or if you need to evaluate changes for potential eviction from the session.

Without this exposed, the only way to get at the changed entities is via reflection on the protect data.