zzzprojects / Eval-Expression.NET

C# Eval Expression | Evaluate, Compile, and Execute C# code and expression at runtime.
https://eval-expression.net/
Other
449 stars 86 forks source link

Update Wiki #22

Closed nawfalhasan closed 6 years ago

nawfalhasan commented 6 years ago

Update page https://github.com/zzzprojects/Eval-Expression.NET/wiki/vs-LINQ-Dynamic-Query-Library to include latest syntax.

These are wrong:

OrderByDynamic("x => x.P1")
SelectDynamic("x => new {Y = x.P1, x.P2}")
Where("x => x.P1 == 1 && x.P2 == 2")

Should be

OrderByDynamic(x => "x.P1")
SelectDynamic(x => "new {Y = x.P1, x.P2}")
Where(x => "x.P1 == 1 && x.P2 == 2")
JonathanMagnan commented 6 years ago

Hello @nawfalhasan ,

Thank you for reporting.

The examples has been fixed.

Best Regards,

Jonathna