我刚刚添加了 Dynamic Data Filtering库到基于 Entity Framework 的动态数据 Web 应用程序,但在尝试访问 List.aspx 时,出现以下错误。在 .NET 4 上我能做些什么吗?
The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'.
最佳答案
我在没有动态数据过滤库的情况下遇到了这个问题。
我通过使用项目模板解决了这个问题:动态数据实体 Web 应用程序。
我在页面上找到了解决方案
http://blog.davidyack.com/journal/2008/5/21/dynamic-data-choosing-the-right-template.html
关于asp.net - 将 ASP.NET 动态数据筛选与 Entity Framework 结合使用时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3124644/