PredicateExtensions
Predicate extensions C#, LINQ and EntityFramework
Install / Use
/learn @EdCharbeneau/PredicateExtensionsREADME
PredicateExtensions
PredicateExtensions is a C# utility that will take two Lambda expressions and combine them using .And or .Or extension methods. Expressions be joined at runtime for dynamic LINQ queries. PredicateExtensions can be used with EntityFramework to refactor and create dynamic queries.
##Example Expression<Func<string, bool>> equalsA = str => str == "A"; Expression<Func<string, bool>> equalsB = str => str == "B";
IQueryable<string> myValues = {"A", "B", "C", "D" };
myValues.Where(equalsA.Or(equalsB)); //"A", "B"
For more information see: Giving Clarity to LINQ Queries by Extending Expressions
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
