Relative Content

Tag Archive for sql-serverentity-frameworkentity-framework-core

SaveChangesAsync throws but actually the changes were saved

I am using EF Core version 8.0.8 with SQL Server database. Due to recent problems in our IT infrastructure, the database is running slower than usual and we often run into query timeouts. We observed that sometimes when we call SaveChangesAsync on the DbContext, the call fails with a timeout exception. However, when inspecting the database tables, it seems that all changes were actually saved correctly.