当前位置:网站首页>Modifying a column with the 'identity' pattern is not supported
Modifying a column with the 'identity' pattern is not supported
2022-04-23 07:22:00 【qq_ fifteen million one hundred and ninety-seven thousand four 】
Report errors :

Cause analysis :
The error message means : my lastAskTime Fields are self increasing , So I can't change his value , however datetime Type cannot be set to self increment ? Try using the database directly sql to update , That's all right. , What's the basic lock EF The problem. , But the ability is limited , Didn't find any reason .Solution :
Finally found , hold lastAskTime Default value of field “CURRENT_TIMESTAMP” Remove or change to a fixed value ( Regenerate the database instance in the project ) No more misstatements .

I don't understand , This default value should only be effective when building a new bank ,EF Why should it be judged as a self increasing field when updating ?
版权声明
本文为[qq_ fifteen million one hundred and ninety-seven thousand four ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230609264949.html
边栏推荐
- 深度学习模型压缩与加速技术(一):参数剪枝
- PyTorch 20. PyTorch技巧(持续更新)
- [dynamic programming] different paths 2
- 【点云系列】SG-GAN: Adversarial Self-Attention GCN for Point Cloud Topological Parts Generation
- Machine learning notes 1: learning ideas
- Chapter 1 numpy Foundation
- Thanos.sh灭霸脚本,轻松随机删除系统一半的文件
- 【点云系列】 场景识别类导读
- 第3章 Pytorch神经网络工具箱
- PyTorch 9. 优化器
猜你喜欢
随机推荐
Chapter 2 pytoch foundation 1
Cancel remote dependency and use local dependency
Thanos.sh灭霸脚本,轻松随机删除系统一半的文件
PyTorch 22. PyTorch常用代码段合集
Android exposed components - ignored component security
利用官方torch版GCN训练并测试cora数据集
画 ArcFace 中的 margin 曲线
第4章 Pytorch数据处理工具箱
Gephi教程【1】安装
【3D形状重建系列】Implicit Functions in Feature Space for 3D Shape Reconstruction and Completion
N states of prime number solution
如何对多维矩阵进行标准化(基于numpy)
Project, how to package
Face_ Recognition face detection
Raspberry Pie: two color LED lamp experiment
GEE配置本地开发环境
“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated
Paddleocr image text extraction
torch.where能否传递梯度
Solution to slow compilation speed of Xcode



![[2021 book recommendation] red hat rhcsa 8 cert Guide: ex200](/img/5a/387baa0f59e5a8a502bb157184d968.png)




