If I’m working with a DomainContext and HasChanges is true, is there a way to figure out what was changed? The answer to that would be good enough, but I’m specifically looking to find out if something is being deleted, though it doesn’t neet to be that specific.
Share
As far as I know, the changes are being kept on the Entity level. Each Entity has an EntityState that shows what type of change the Entity is in (that includes Deleted).
So in order to see what is changing or what type of changes are occuring, you have to look at each Entity itself. The good news is that each one of those has a HasChanges property as well.