More readable Entity Framework Core queries with LINQKit

Recently I’ve completed a task that required writing a complex query in Entity Framework Core. After completing said tasked I’ve decided to marvel at my creation and saw, that there’s not much to marvel at - it did the job, but it wasn’t very readable. I already felt pity for the poor soul that has to understand it, or even worse, modify it - especially because more than likely it’d be me, after I’ve long forgotten the monstrosity I created....

November 19, 2022 · 5 min · redzimski.dev