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()
1.4m articles
1.4m replys
5 comments
57.0k users