OSS Power-Ups: EntityFramework.Exceptions

Livestream
Tuesday, March 18
14:00 Coordinated Universal Time (UTC 0)
Agenda
When using Entity Framework Core for data access, all database exceptions are wrapped in DbUpdateException. If you need to know whether the exception was caused by a unique constraint, the value being too long, or the value missing for a required column, you need to dig into the concrete DbException subclass instance and check the error number to determine the exact cause. In this episode, learn how EntityFramework.Exceptions handles all the database-specific details and allows you to use typed exceptions for Entity Framework Core when your query violates database constraints.

Speaking to you

Giorgi Dalakishvili

Giorgi is a software developer with more than a decade of experience. He works mainly with C#, ASP.NET Core, REST, MAUI, Xamarin, Entity Framework Core, AWS, and SQL Server. He has also worked with many other frameworks and systems such as GraphQL, ASP.NET MVC, ASP.NET Web API, WCF, Avalonia, WinForms, Oracle, and others.

Giorgi is an open-source author and contributor on GitHub, and a member of the .NET Foundation.