title: Convert lambda expression to string
body: <p>This may seem like an odd request, however with APIs that require a filter property string I thought it would be a nice concept to be able to convert a provided type safe lambda expression which could then be compiled into a query string - similar in essence to Linq -> SQL. </p>
  
  <p>So for example:</p>
  
  <pre><code> Func&lt;TQueryObj, bool&gt; 
   (invoice) =&gt; { invoice.Status == "DRAFT" &amp;&amp; invoice.Type == "ACCREF" };
  </code></pre>
  
  <p>Would convert to</p>
  
  <pre><code> Status=="DRAFT" &amp;&amp; Type=="ACCREF"
  </code></pre>
  
  <p>I'm using an invoicing API at the moment hence the example. Any means of achieving this fairly simply?</p>
  
  <p>Cheers</p>