Implementing Soft Deletes with Entity Framework Core

Опубликовано: 23 Февраль 2025
на канале: Bald. Bearded. Builder.
4,273
230

Hola! I’m Michael, and in this video, we’ll cover how to implement soft deletes with Entity Framework Core. By default, Entity Framework Core will permanently delete records when using the .Remove method. We’ll use an EF Core interceptor and query filter to soft delete records.

Did you know that every video on the channel is written, coded, recorded, and edited live on Twitch every weekday? Come hang out and let's co-work together at https://bbb.dev/twitch from 10AM - 6PM ET Monday through Friday.

Don't forget to comment, like and subscribe 🚀

💬 JOIN US ON DISCORD
https://bbb.dev/discord

🧑‍💻 LET'S CONNECT ON SOCIAL
Blog: https://baldbeardedbuilder.com
Twitter:   / michaeljolley  
TikTok:   / baldbeardedbuilder  
Instagram:   / baldbeardedbuilder  
Twitch: https://twitch.com/baldbeardedbuilder

#csharp #dotnet