Project DescriptionLINQ Compiler is able to convert a string into its corresponding LINQ expression tree. Create dynamic LINQ queries or store them in database. You can use any LINQ provider with it.
Using LINQ To Objects
LinqCompiler lc = new LinqCompiler("(from n in source select n).Max()");
lc.AddSource("source", new int[] { 1, 4, 3 });
int maxValue = lc.Evaluate<int>();
Using LINQ To SQL
LinqCompiler lc = new LinqCompiler(@"
from p in source
where p.CategoryID = 2
select p
");
lc.AddSource("source", db.Products);
var products = lc.Evaluate<IEnumerable<Products>>();
People behind LINQ Compiler
LINQ Compiler is a project managed by the people of Evaluant (
http://www.evaluant.com) and is a part of its R&D developments.
LINQ Compiler is a project managed by the people of
Evaluant and is a part of its
R&D developments