Working With SQL Exceptions Like a Boss In EF Core

Опубликовано: 05 Май 2023
на канале: Codewrinkles
3,225
168

Whem working with EF Core, we'll for sure get SQL exceptions at a certain point. But what if we want to perform some custom exception recovery based on the SQL exception type? Well, that's possible, advisable, but cumbersome. Can we do better? Join me, as in this video I'll try different approaches to it.
#dotnet #aspnetcore #efcore #programming

Join this channel to get source code access and other perks:
   / @codewrinkles  

Also follow me here (especially if you are a self taught developer):
✅My other channel:    / @danpatrascutech  
✅Facebook:   / danpatrascutech  
✅Instagram:   / danpatrascutech  
✅TikTok:   / danpatrascutech  

Content:
1. Intro: 00:00
2. Problem statement: 01:00
3. EF Core and SQL exceptions: 01:52
4. Practical use case: 02:50
5. Working with SQL exceptions in EF Core: 03:48
6. Problems in paradise: 05:21
7. Meet this cool library: 05:52
8. IMPORTANT considerations: 08:11

My setup:
Camera - Canon EOS M50 Mark II: https://amzn.to/3SJxS4d
Lav mic - Rode Lavalier GO Professional: https://amzn.to/3mmZS1B
Condenser mic - Shure SM7B: https://amzn.to/3JaqjQN
Audio console - Rodecaster PRO II: https://amzn.to/3KTVMIg
Laptop - Dell Latitude: https://amzn.to/3KV4SEW
Monitors - Benq 27 inch: https://amzn.to/3JbM6aU
Lights - 2x Godox SL-60W: https://amzn.to/3KV3qCj