当我尝试将控制器添加到WebUI时,出现以下错误:
'DTO.Games' is not part of the specified 'DAL.GamesEntities' class, and
the 'DAL.GamesEntities' class could not be modified to add a
'DbSet<DTO.Games>' property to it. (For example, the
'Dal.GamesEntities' class might be in a compiled assembly
我在问这里之前搜索了一下,但在线解决方案都没有帮助我。我在DBFirst工作。任何可以帮助解决这个问题的代码:问你,你会收到。
提前致谢
CODE