title: Parsing a string C# LINQ expression
body: <p>I'm trying to do some really dynamic querying here - preferably without invoking the compiler at runtime though.</p>
  
  <p>I have a string containing a LINQ expression, e.g.</p>
  
  <pre><code>var s = "from a in queryable where a.Type == 1 select a";
  </code></pre>
  
  <p>How can I get the resulting IQueryable or Expressions from that?</p>
  
  <p>I've seen LINQPad and RavenDb both do this so I'm convinced there's a way, I just haven't found it yet.</p>