Project Description
LINQ 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

petit_carre.png

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

Last edited Aug 8, 2008 at 11:09 AM by sebastienros, version 5