title: Dynamic lambda parameters based on dictionary elements
body: <p>My plan is to create a query, but the parameters based on a Dictionary.
  The Dictionary contains string key and bool value.
  Can be 2 or 3 or more items in the dictionary.</p>
  <pre><code>Dictionary&lt;string, bool&gt; items = new Dictionary&lt;string, bool&gt;();
  items.Add(&quot;CostFree&quot;, true);
  items.Add(&quot;Visible&quot;, true);
  items.Add(&quot;Closed&quot;, true);
  </code></pre>
  <p>This is the dictionary I am sending and based on this I want to create dynamically a query like</p>
  <pre><code>.Where(e =&gt; e.CostFree == true || Visible == true || Closed == true)
  </code></pre>
  <p>but the dictionary can contain 2, 3 or four items.</p>
  <p>How can I solve this ?
  Thanks in advance</p>