title: MongoDb passing predicate argument
body: <p>in MongoDb I can pass a predicate to an queryable instance for example</p>
  
  <pre><code>DataBase.GetCollection&lt;BsonDocument&gt;("entity")
      .AsQueryable&lt;Entity&gt;()
      .Where(item=&gt;item.id ==5);
  </code></pre>
  
  <p>But now I have function like this</p>
  
  <pre><code>IEnumerbale QueryData(Predicate&lt;Entity&gt; condition)
  {
      this.DataBase.GetCollection&lt;BsonDocument&gt;("entity")
          .AsQueryable&lt;Entity&gt;()
          .Where(item=&gt; condition(item));
  }
  </code></pre>
  
  <p>but this does not work and tells me:</p>
  
  <blockquote>
    <p>Unsupported where clause: .</p>
  </blockquote>
  
  <p>Is this as designed?
  is there any workaround ? Am I doing something wrong?</p>