If I load up an entity, make some changes, and then go to save it, EF generates an update statement.
This must mean that at some point something (presumably the change tracker) is navigating the loaded object hierarchy and generating a list of (entity, property, value) that changed. For an unrelated bit of infrastructure I need to basically diff object graphs in a similar fashion. I'm thinking that I should be able to reuse the same mechanism.
So that's the question - can I do this? Can I query changes to a particular entity or even to the entire object graph? How?