会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
非同凡向
平凡的我有不平凡的梦
博客园
首页
新随笔
联系
管理
订阅
2018年6月19日
EF An error occurred while updating the entries. See the inner exception for details.
摘要: EF新增数据时报插入失败id不能为null, 但是我们有赋值。 System.Data.SqlClient.SqlException: 不能将值 NULL 插入列 'ID',表 'dbo.Sys_MenuBasis ';列不允许有 Null 值。INSERT 失败。 这里是因为ef把数据带有id属性
阅读全文
posted @ 2018-06-19 18:28 非同凡向
阅读(6452)
评论(0)
推荐(0)
编辑
公告