01 2018 档案
摘要:报错信息:The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must …… EF 使用ToPagedList。 这是没有使用OrderBy或者OrderByDe
阅读全文
摘要:调用接口时报错:WebApi 找到了与该请求匹配的多个操作,就算你的路由是唯一的,也报错。 我已经配置了路由,如下 这时候就看看你的命名空间using里面有没有包含:using System.Web.Mvc; 如果有的话,就把它删除掉,然后引用:using System.Web.Http; 出现上述
阅读全文