-
Notifications
You must be signed in to change notification settings - Fork 874
Firebird 数据库级联保存报 NullReferenceException 异常 #2023
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
Comments
看了看 MapEntityValue 源码,找不出所以然,应该是 Lambda 内有了 NullReferenceException,不知道怎会与 |
Firebird Inserted 实现有 bug,与级联冲突,待会发新版本 |
2881099
added a commit
that referenced
this issue
May 6, 2025
FreeSql.Provider.Firebird v3.5.206-preview20250506 过几分钟后更新,可解决 |
错误以前发生过 #362,检查过了,其他数据库代码没问题,唯有 firebird 漏掉了没改。 |
好的,辛苦了 |
更新了,问题解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述及重现代码:
Firebird 数据库利用导航属性进行级联保存时报 System.NullReferenceException:
在执行导出导入时发现的问题(数据从某库导出并导入到目标库),目标库是 pgsql/sqlserver/mysql/oracle/dm 等等时均正常,只有 Firebird 导入失败,搞好长时间才发现实体里的日期类型属性加上
[Column(ServerTime = DateTimeKind.Local)]
后插入就报异常,完整重现见下。堆栈:
数据库版本
Firebird 5.0
安装的Nuget包
FreeSql.Provider.Firebird/FreeSql.DbContext 3.5.108
更新至 3.5.205 问题依旧
.net framework/. net core? 及具体版本
.net8.0
The text was updated successfully, but these errors were encountered: