-
Notifications
You must be signed in to change notification settings - Fork 859
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
gbase8s回写主键问题 #1919
Comments
|
使用DataType.GBase类型的时候 会执行SELECT dbinfo('serial8') FROM dual 但是我们建库的时候使用的是bigserial 是否能使用datatype去动态修改查询语句 |
获取主键可以改为 |
protected override long RawExecuteIdentity() 可以看 FreeSql.Provider.GBase 项目这个实现。 MapType = typeof(long) 也许可以帮到你 |
我使用UseConnectionString和FreeSql.Provider.GBase去链接GBase也是不回写主键 数据库自增列是bigserial 类型 |
|
问题描述及重现代码:
使用gbase8时不会回写主键,使用ExecuteIdentity能返回ID
数据库版本
gbase8s
安装的Nuget包
3.2.833
.net framework/. net core? 及具体版本
.net 5
The text was updated successfully, but these errors were encountered: