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 ExpressionWhat we achieved over the last 5 years has grown beyond our hopes. That motivates us to continue to grow and improve all our projects. Every day, we are committed to listening to our clients to help ease the daily dev workload as much as possible.