title: how to use Contains in where clause in linq
body: <p>I have this:</p>
  
  <pre><code>        var myResult = uow.GetRepository&lt;SLItemsCustomersCard, long&gt;()
              .Query(x =&gt; x.CustomerId == customerId &amp;&amp; x.SquareColor == squareColor)
              .OrderBy(x =&gt; x.BranchMapRang)
              .Select((r, i) =&gt; new { Row = r, Index = i })
              .Where(x =&gt; x.Index == visitCounter - 1).ToList();
  </code></pre>
  
  <p>but I want to achive this in where clause:</p>
  
  <pre><code>.Where(x =&gt; x.Index.Cotains(visitCounter)).ToList();
  </code></pre>
  
  <p>How to do this?</p>