← Back
Milan Jovanovic March 3, 2026 11m

Stop Making This EF Core Transaction Mistake

Summary

The transcript discusses best practices for handling transactions in Entity Framework (EF) Core, focusing on how database changes are tracked and persisted. The speaker walks through an example of updating employee salaries in a minimal API endpoint, explaining how EF Core's change tracking mechanism works and how entities are modified and saved. The key takeaway is understanding the implicit transaction behavior in EF Core and the importance of using the change tracker and save changes method to efficiently manage database updates.

View original episode ↗