title: cannot convert from 'MongoDB.Driver.IMongoCollection<>' to 'System.Collections.Generic.IEnumerable<>'
body: <p>I upgraded Mongodb driver to the newest 2.0 and my application used to work failed with the error below:</p>
  
  <blockquote>
    <p>cannot convert from 'MongoDB.Driver.IMongoCollection&lt;>' to
    'System.Collections.Generic.IEnumerable&lt;>'</p>
  </blockquote>
  
  <p>The source code is below:</p>
  
  <pre><code>public IQueryable&lt;Registration&gt; Registrations
  {
      get 
      { 
          return db
              .GetCollection&lt;Registration&gt;("Registrations")
              .AsQueryable&lt;Registration&gt;(); 
      }
  }
  </code></pre>
  
  <p>Any idea how to fix this?</p>