Is there a way to find out whether there are unsaved changes in my entity context, in the Entity Framework?
Starting with EF 6, there is context.ChangeTracker.HasChanges().
context.ChangeTracker.HasChanges()
2.1m questions
2.1m answers
60 comments
57.0k users