title: Cannot implicitly convert type 'System.Linq.IQueryable<Database.Table>' to 'bool'
body: <p>Hello I am getting the error</p>
  
  <pre><code>Cannot implicitly convert type 'System.Linq.IQueryable&lt;Database.Table&gt;' to 'bool'
  </code></pre>
  
  <p>From this piece of code</p>
  
  <pre><code>foreach (var file in files)
  {
    if (context.SomeTables.Where(p =&gt; p.FileName == System.IO.Path.GetFileName(file)))
    {
        //Do Something     //above I am trying to compare if the filename in the db table
                           //is equal to the GetFileName being passed in but it throwing
                           //the error      
    }
  </code></pre>