TNBLOG
首页
博客
视频
资源
问答
猿趣
手机
关于
搜索
收藏
便签
笔记
消息
创作
登录
原
Unable to track an entity of type 'xxx' because primary key property 'Id' is null.
7002
人阅读
2020/5/6 14:27
总访问:
48222
评论:
0
收藏:
0
手机
分类:
ef
这个是ef中添加报错,id如果是自增的话id不需要赋值,如果id不是自增就必须要赋值,这种报错的情况就是id不是自增
👈{{preArticle.title}}
👉{{nextArticle.title}}
评价
{{titleitem}}
{{titleitem}}
{{item.content}}
{{titleitem}}
{{titleitem}}
{{item.content}}
小鲁班
聪明如你,阳光如你
博主信息
排名
6
文章
6
粉丝
16
评论
8
文章类别
云服务
2篇
.net core
1篇
k8s
0篇
ef
1篇
.net
1篇
随笔
2篇
前端
2篇
最新文章
最新评价
{{item.articleTitle}}
{{item.blogName}}
:
{{item.content}}
关于我们
ICP备案 :
渝ICP备18016597号-1
网站信息:
2018-2025
TNBLOG.NET
技术交流:
群号656732739
联系我们:
contact@tnblog.net
公网安备:
50010702506256
欢迎加群
欢迎加群交流技术