-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
达梦使用ExecuteDmBulkCopy报错仅当指定列列表,且SET IDENTITY_INSERT为ON时,才能对自增列赋值 #1846
Comments
先用 ado执行把这个功能打开 |
using (var conn = await _freeSql.Ado.MasterPool.Get()) |
我提出的问题的是从mysql转为达梦的,使用的达梦迁移工具,自增列也带上了 |
你说设置的特性生成的不是自增,但是我看你截图是自增字段 |
Id设置的特性IsIdentity是true,但是库里并不是自增列 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
数据库版本 达梦8
安装的Nuget包 FreeSql.Provider.Dameng 3.2.832
.net core 6.0
_freeSql.Insert<A>(data).InsertIdentity().ExecuteDmBulkCopy();
The text was updated successfully, but these errors were encountered: