How can I create a console application that allows me to inject LINQ expressions and my program will execute them?
3 answers
I wrote a LinqFilter for something similar for this purpose. It does not parse LINQ query expressions by itself, but rather feeds the code to the C # v3.5 compiler via Microsoft.CSharp.CSharpCodeProvider to compile into dynamic assembly and execute the compiled method containing the query. If you were looking for a more interactive approach to developing LINQ queries over databases, LinqPad would be a better tool.
+1
source to share