dataContext.ConsaltQuestion where ((i.Type == type || type == null) && (i.Paid == true) && (ConsaltRoles.Contains(ConsaltCostDetails(i.Type.Value)))) select i).ToList().ToPageOfList(pageId, 20);它返回错误:
LINQ toEntities does not recognize the method 'Boolea
我遇到了一些LINQ查询的问题。我有两个查询,这将为我从两个不同的数据库中获得一些信息,然后在第三个查询中,我试图“连接”前两个查询,并从他们那里获得一些信息。下面是第三个查询的代码: where list2.Contains(z.Group)z.delivery, }).ToList(); list2.<em