This article is contributed. See the original author and article here.
Welcome to another post in TNWiki Article Spotlight series. This is where you get to hear about a TechNet Wiki that you shouldn’t miss reading. It’s been a while since I last wrote a Post on Wiki Ninjas Blog and it feels great to be back.
This weeks’ TNWiki article discusses one of the nicest features in Entity Framework Core. That is Global Query Filters which was initially introduced in EF Core 2.0. Some common use of this feature is to implement Soft Deletes and Multi-tenancy. Our article today focuses primarily on how you can implement Soft Delete functionality. And not to mention, this article has won the Gold medal in Visual C# Technical Guru – April 2020 and was published by Karen Payne. Karen has been contributing to TNWiki in a great manner over the past years with wonderful articles each month. I will take this opportunity to thank her for all her hard work.
This article is very well explained, written in a step by step nature, so anyone can easily follow along. Towards the end of the article, a GitHub repo link is provided that has the complete source code related to this article and it has a nice ReadMe to easily get the project set up in your machine. What else you can ask for?
Can’t wait to read the article? Here you go.
Entity Framework Core 3.x Global Query Filters (C#)
Have a nice week ahead!
Happy Coding and of course, Stay Safe!
TechNet Wiki the community where we all join hands to share Microsoft-related information.
Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.