2 posts about CodeSimplicity by 2 contributors.
Know CodeSimplicity? Share what you know with developers who are learning it.
As a beginner developer, you're likely on a quest to create clean, maintainable, and scalable code. One of the guiding principles in this journey is the "Open-Closed Principle" from the SOLID principles. In this article, we'll break down the Open-Closed Principle (OCP) and explain it in a beginner-friendly way using a simple .NET 6 Core example.
In certain cases, you may need to apply filtering conditions to all queries involving specific entities. This can be useful when you want to exclude soft-deleted items, filter data based on certain criteria, or ensure data integrity. With Entity Framework's global query filters, you can easily achieve this during the model creation process.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article