%3CLINGO-SUB%20id%3D%22lingo-sub-1462069%22%20slang%3D%22en-US%22%3ETNWiki%20Article%20Spotlight%20-%20Entity%20Framework%20Core%203.x%20Global%20Query%20Filters%20(C%23)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1462069%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22lia-align-justify%22%3EWelcome%20to%20another%20post%20in%20TNWiki%20Article%20Spotlight%20series.%20This%20is%20where%20you%20get%20to%20hear%20about%20a%20TechNet%20Wiki%20that%20you%20shouldn't%20miss%20reading.%20It's%20been%20a%20while%20since%20I%20last%20wrote%20a%20Post%20on%20Wiki%20Ninjas%20Blog%20and%20it%20feels%20great%20to%20be%20back.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThis%20weeks'%20TNWiki%20article%20discusses%20one%20of%20the%20nicest%20features%20in%20Entity%20Framework%20Core.%20That%20is%26nbsp%3B%3CSTRONG%3EGlobal%20Query%20Filters%3C%2FSTRONG%3E%20which%20was%20initially%20introduced%20in%20%3CSTRONG%3EEF%20Core%202.0%3C%2FSTRONG%3E.%20Some%20common%20use%20of%20this%20feature%20is%20to%20implement%20Soft%20Deletes%20and%20Multi-tenancy.%20Our%20article%20today%20focuses%20primarily%20on%20how%20you%20can%20implement%20Soft%20Delete%20functionality.%20And%20not%20to%20mention%2C%20this%20article%20has%20won%20the%20Gold%20medal%20in%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwiki-ninjas-blog%2Ftechnet-guru-awards-april-2020%2Fba-p%2F1430105%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EVisual%20C%23%20Technical%20Guru%20-%20April%202020%3C%2FA%3E%20and%20was%20published%20by%20%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2Fprofile%2Fkareninstructor%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EKaren%20Payne%3C%2FA%3E.%20Karen%20has%20been%20contributing%20to%20TNWiki%20in%20a%20great%20manner%20over%20the%20past%20years%20with%20wonderful%20articles%20each%20month.%20I%20will%20take%20this%20opportunity%20to%20thank%20her%20for%20all%20her%20hard%20work.%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThis%20article%20is%20very%20well%20explained%2C%20written%20in%20a%20step%20by%20step%20nature%2C%20so%20anyone%20can%20easily%20follow%20along.%20Towards%20the%20end%20of%20the%20article%2C%20a%20GitHub%20repo%20link%20is%20provided%20that%20has%20the%20complete%20source%20code%20related%20to%20this%20article%20and%20it%20has%20a%20nice%20ReadMe%20to%20easily%20get%20the%20project%20set%20up%20in%20your%20machine.%20What%20else%20you%20can%20ask%20for%3F%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3ECan't%20wait%20to%20read%20the%20article%3F%20Here%20you%20go.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2Fwiki%2Fcontents%2Farticles%2F53834.entity-framework-core-3-x-global-query-filters-c.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EEntity%20Framework%20Core%203.x%20Global%20Query%20Filters%20(C%23)%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EHave%20a%20nice%20week%20ahead!%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EHappy%20Coding%20and%20of%20course%2C%20Stay%20Safe!%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jaliya-Udagedara-300x58.png%22%20style%3D%22width%3A%20300px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F198644i2A167E1AB75B013B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Jaliya-Udagedara-300x58.png%22%20alt%3D%22Jaliya-Udagedara-300x58.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E(%3CA%20href%3D%22http%3A%2F%2Fjaliyaudagedara.blogspot.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EBlog%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Flogin.live.com%2Flogin.srf%3Fwa%3Dwsignin1.0%26amp%3Brpsnv%3D13%26amp%3Bct%3D1592169340%26amp%3Brver%3D6.7.6640.0%26amp%3Bwp%3DMBI_SSL%26amp%3Bwreply%3Dhttps%3A%252F%252Fsocial.msdn.microsoft.com%252Fprofile%252Fjaliya%2520udagedara%252F%253FstoAI%253D10%26amp%3Blc%3D1033%26amp%3Bid%3D254354%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMSDN%20Profile%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FJaliyaUdagedara%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETwitter%3C%2FA%3E)%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3ETechNet%20Wiki%20the%20community%20where%20we%20all%20join%20hands%20to%20share%20Microsoft-related%20information.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1462069%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Earticle%20spotlight%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E

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!

Jaliya-Udagedara-300x58.png

(Blog, MSDN Profile, Twitter)

TechNet Wiki the community where we all join hands to share Microsoft-related information.