tags:

views:

46

answers:

1

Is there any library or custom control that allows to construct LINQ to Objects (IEnumerable collection) queries at run-time from text, it would be nice to have IntelliSense support, like it is in Visual Studio code editor. I need to code CustomControl similar to http://xte.codeplex.com/ with IntelliSense and some other features that will generate LINQ query from text.

Added: Actually i need to construct Expression not a run-time lambda code code.

+1  A: 

Dynamic LINQ does what you want, but you will have to implement Intellisense yourself...

Thomas Levesque
No, it doesn't it only provide option to write expression in text. What I want is text parser that will generate expression tree.
Broken Pipe
Dynamic Linq does that: use the DynamicExpression.ParseLambda method, it returns an expression tree
Thomas Levesque
Broken Pipe
But still this is useful thing, 1\3 work done.
Broken Pipe