title: what is the mechanism for performing an intersect in a Mongo Linq query
body: <p>How do I write a where clause in Linq for Mongo to determine if any member of a local collection is contained by a collection in my document.</p>
  
  <p>i.e.  (this was what I was expecting to work, but didn't)</p>
  
  <pre><code>var myLocalList = &lt;PopulateMyLocalList&gt;;
  
  var myDocs = db.GetCollection&lt;MyDoc&gt;("MyDocs").AsQueryable();
  var result =  myDocs.Where(d =&gt; d.MyCollection.Intersect(myLocalList).Any());
  </code></pre>
  
  <p>So assuming that the Mongo Linq provider does not support this - How do I go about it?</p>