We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
由于oracle数据库特殊性,存入空字符串是null,这样有个问题,我获取数据时候string类型字段获取空字符串都是null,这个null问题会影响我的业务上的代码。我的需求是想寻求全局设置,当取值时候,string为null的字段会变成空字符串。
The text was updated successfully, but these errors were encountered:
- 增加 Aop.AuditDataReader 事件拦截 DataReader 读取值 #436;
fbf62b6
fsql.Aop.AuditDataReader += (_, e) => { if (e.DataReader.GetFieldType(e.Index) == typeof(string) && e.Value == DBNull.Value) e.Value = ""; };
Sorry, something went wrong.
v1.8.0 #325 #397 #401 #398 #395 #392 #391 #405 #412 #267 #113 #436 #402
d0c5d84
#403 #411 #371 #427 #384 #413
多谢
No branches or pull requests
由于oracle数据库特殊性,存入空字符串是null,这样有个问题,我获取数据时候string类型字段获取空字符串都是null,这个null问题会影响我的业务上的代码。我的需求是想寻求全局设置,当取值时候,string为null的字段会变成空字符串。
The text was updated successfully, but these errors were encountered: