Skip to content

Who use it

ZZZ Projects edited this page Nov 16, 2015 · 1 revision

This library is used in almost all ZZZ Projects to dynamically compile code at runtime using expression tree.

Eval Expression.NET

Evaluate, Compile and Execute C# code and expression at runtime.

int result = Eval.Execute<int>("X + Y", new { X = 1, Y = 2});

Learn more

Eval SQL.NET

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

Learn more