{"repo":"Giorgi/EntityFramework.Exceptions","free":true,"listed":false,"github":"https://github.com/Giorgi/EntityFramework.Exceptions","clone":"git clone https://github.com/Giorgi/EntityFramework.Exceptions.git","description":"Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql.","language":"C#","stars":1734,"topics":["entity-framework-core","netcore2","sql-server","postgresql","mysql","netcore3","database-exceptions","sqlite","sqlite3","entityframework"],"license":null,"category":"databases-storage","readme_excerpt":"EntityFramework.Exceptions Handle database errors easily when working with Entity Framework Core and ADO.NET. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql Entity Framework Community Standup Live Show OSS Power-Ups: EntityFramework.Exceptions Nick Chapsas - The Smart Way to Handle EF Core Exceptions Sponsors A huge thanks to everyone (individuals or organisations) who have sponsored EntityFramework.Exceptions, but a massive thanks in particular to - Entity Framework Extensions and Dapper Plus are major sponsors and are proud to contribute to the development of EntityFramework.Exceptions - JetBrains is sponsoring the EntityFramework.Exceptions project as part of their OSS Power-Ups series What does EntityFramework.Exceptions do? When using Entity Framework Core for data access all database exceptions are wrapped in DbUpdateException . If you need to find whether the exception was caused by a unique constraint, value being too long or value missing for a required column you need to dig into the concrete DbException subclass instance and check the error code to determine the exact cause. EntityFramework.Exceptions simplifies this by handling all the database specific details and throwing different exceptions. All you have to do is to configure DbContext by calling UseExceptionProcessor and handle the exception(s) you need, such as UniqueConstraintException , CannotInsertNullException , MaxLengthExceededException , NumericOverflowException , ReferenceConstraintExceptio","default_branch":null,"files":null,"tree":[],"storefront":"/r/Giorgi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Giorgi/EntityFramework.Exceptions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}