Exprelsior - Dynamic lambda expression/Predicate generator

github logo ・1 min read

Hello, everyone!

I present to you my new open-source project: Exprelsior!

Exprelsior is a .NET Standard library that enables .NET developers to create strongly-typed binary lambda expressions from pure text using it's own query syntax or from the expression builder method.

With support to all major .NET data types, including nullable types, nested properties and it's own query syntax, Exprelsior brings the creation of dynamic predicates to a whole new level.

Example:

This pure, simple string: "eq('Name', 'John')"

Gets translated to this:

t => t.Name == "John"

Then you can use your expression normally. This is specially useful if used with an ORM like Entity Framework, because it enables you to create predicates dynamically.

Here's the link to the project: https://github.com/alexmurari/Exprelsior

Hope you like it.

Alex.

twitter logo DISCUSS
Classic DEV Post from Feb 2

Progress Not Perfection

Most people want to make things perfect. Sometimes we evaluate the complexity of an upcoming goal or a problem. So, the fear to not complete it perfectly or "wrong" (Yeah, who are judges? 🤔) stops us even from trying.

Alexandre Murari Junior profile image
Full-stack .NET developer. C# addicted. Bringing fun into function(x).