This library is used in almost all ZZZ Projects to dynamically compile code at runtime using expression tree.
Evaluate, Compile and Execute C# code and expression at runtime.
int result = Eval.Execute<int>("X + Y", new { X = 1, Y = 2});
Evaluate C# code and expression in T-SQL stored procedure, function and trigger.
CREATE PROCEDURE [dbo].[select_formula]
AS
BEGIN
SELECT SQLNET::New('X + Y')
.Val('X', ColumnValueX)
.Val('Y', ColumnValueY)
.Eval()
FROM TableFormula
END
This library is not intended to be directy used, if you want to evaluate expression, see Eval Expression.NET instead.
PM> Install-Package Z.Expressions.Compiler
*FREE Version - up to 50 characters
Stay updated with latest changes
The best way to contribute is by spreading the word about the library:
- Blog it
- Comment it
- Star it
- Share it
A HUGE THANKS for your help.
- Projects:
- Learn Websites
- Online Tools:
- and much more!
To view all our free and paid projects, visit our website ZZZ Projects.