当前位置:网站首页>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
边栏推荐
- 机器学习——PCA与LDA
- xcode 编译速度慢的解决办法
- Chapter 2 pytoch foundation 2
- Write a wechat double open gadget to your girlfriend
- 机器学习——模型优化
- 【点云系列】Relationship-based Point Cloud Completion
- Machine learning II: logistic regression classification based on Iris data set
- 【期刊会议系列】IEEE系列模板下载指南
- 【点云系列】点云隐式表达相关论文概要
- Android interview Online Economic encyclopedia [constantly updating...]
猜你喜欢

Chapter 3 pytoch neural network toolbox

Chapter 2 pytoch foundation 2

Machine learning notes 1: learning ideas

Chapter 2 pytoch foundation 1

WinForm scroll bar beautification
![[2021 book recommendation] learn winui 3.0](/img/1c/ca7e05946613e9eb2b8c24d121c2e1.png)
[2021 book recommendation] learn winui 3.0

【点云系列】 场景识别类导读

Write a wechat double open gadget to your girlfriend

Machine learning II: logistic regression classification based on Iris data set
![[2021 book recommendation] practical node red programming](/img/f4/e397c01f1551cd6c59ea4f54c197e6.png)
[2021 book recommendation] practical node red programming
随机推荐
第8章 生成式深度学习
树莓派:双色LED灯实验
cmder中文乱码问题
Machine learning II: logistic regression classification based on Iris data set
[2021 book recommendation] artistic intelligence for IOT Cookbook
Gobang games
画 ArcFace 中的 margin 曲线
Android exposed components - ignored component security
1.2 preliminary pytorch neural network
【点云系列】Neural Opacity Point Cloud(NOPC)
PyTorch中的一些常见数据类型转换方法,与list和np.ndarray的转换方法
给女朋友写个微信双开小工具
第2章 Pytorch基础1
【 planification dynamique】 différentes voies 2
Infrared sensor control switch
Chapter 8 generative deep learning
[dynamic programming] different paths 2
面试总结之特征工程
Chapter 1 numpy Foundation
第2章 Pytorch基础2