您好,我收到错误消息
Cannot implicitly convert type 'System.Linq.IQueryable<Database.Table>' to 'bool'
从这段代码
foreach (var file in files)
{
if (context.SomeTables.Where(p => 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
}