title: LINQ/Projection - Contains all wildcard for filtering
body: <p>Is there an equivalent "*<em>" for Contains("</em>")?  I'm using some wildcards for filtering and if there isn't a filter applied then I need to return all?</p>
  
  <pre><code>string[] filter = {1,2};  // This is dynamic could be filtered values or {} empty.
  
  // This works for filtering by products (1,2)
  db.Products.Where(x =&gt; filter.Contains(x.ProdId));
  </code></pre>
  
  <p>What I really need to achieve is something like this:</p>
  
  <pre><code>// If the filter is empty get all results...if there is a filter passed the filter values in for select
  db.Products.Where(x =&gt; x.ProdId.Contains(filter.Length == 0 ? "*" : filter);
  </code></pre>