阅读背景:

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 失败。System.Data.S




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: