会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
竹林听雨行
博客园
首页
新随笔
联系
订阅
管理
2020年6月9日
LINQ to Entities does not recognize the method , and this method cannot be translated into a store expression 解决办法
摘要: 根据用户输入的起始日期,查询以起始日期开始的前20条记录,在ASP.NET MVC的Controller代码中这样写: var Logs = db.Log.Take(20); if (!string.IsNullOrEmpty(dateBegin)) { Logs = Logs.Where(a =>
阅读全文
posted @ 2020-06-09 22:40 竹林听雨行
阅读(383)
评论(0)
推荐(0)
公告