当前位置:网站首页>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
边栏推荐
- 常见的正则表达式
- Miscellaneous learning
- 1.2 初试PyTorch神经网络
- 微信小程序 使用wxml2canvas插件生成图片部分问题记录
- Write a wechat double open gadget to your girlfriend
- MySQL installation and configuration - detailed tutorial
- 【点云系列】Learning Representations and Generative Models for 3D pointclouds
- Face_ Recognition face detection
- [point cloud series] sg-gan: advantageous self attention GCN for point cloud topological parts generation
- [recommendation of new books in 2021] practical IOT hacking
猜你喜欢
PaddleOCR 图片文字提取
SSL/TLS应用示例
Mysql database installation and configuration details
[3D shape reconstruction series] implicit functions in feature space for 3D shape reconstruction and completion
Record WebView shows another empty pit
Binder mechanism principle
树莓派:双色LED灯实验
PyMySQL连接数据库
Pymysql connection database
Gephi教程【1】安装
随机推荐
Chapter 1 numpy Foundation
unhandled system error, NCCL version 2.7.8
WinForm scroll bar beautification
深度学习模型压缩与加速技术(一):参数剪枝
Compression and acceleration technology of deep learning model (I): parameter pruning
Exploration of SendMessage principle of advanced handler
torch_geometric学习一,MessagePassing
1.2 初试PyTorch神经网络
Pytorch模型保存与加载(示例)
Gephi tutorial [1] installation
机器学习 三: 基于逻辑回归的分类预测
Component based learning (1) idea and Implementation
画 ArcFace 中的 margin 曲线
Paddleocr image text extraction
【点云系列】SG-GAN: Adversarial Self-Attention GCN for Point Cloud Topological Parts Generation
Android interview Online Economic encyclopedia [constantly updating...]
PaddleOCR 图片文字提取
MySQL的安装与配置——详细教程
[8] Assertion failed: dims.nbDims == 4 || dims.nbDims == 5
Write a wechat double open gadget to your girlfriend