using (var context = new EntityContext()) { var list = customers .Where("Name.Contains(@0)","ZZZ Projects") .ToList(); }
The Dynamic LINQ library let you execute query with dynamic string and provide some utilities methods such as ParseLambda
, Parse
, and CreateClass
.
If you need more flexibility, we recommend you our C# Eval Expression library which is more powerful and let you Evaluate, Compile and Execute any C# code at runtime.
C# Eval Expression
Dynamic LINQ is FREE and always will be.
However, last year alone, we spent over 3000 hours maintaining our free projects! We need resources to keep developing our open-source projects.
We highly appreciate any contribution!