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
全局配置,插入实体对象时忽略属性值为null的字段
// c# code
The text was updated successfully, but these errors were encountered:
fsql.Update<T>().SetSourceIgnore(item, val => val != null).ToSql();
Sorry, something went wrong.
fsql.Update().SetSourceIgnore(item, val => val != null).ToSql();
这种方法每次都要设置条件,怎么开启全局生效
这个暂时做不了全局,或者你在aop sqs执行之前正则替换一下?
No branches or pull requests
Feature 特性
全局配置,插入实体对象时忽略属性值为null的字段
// c# code
简要描述原因
// c# code
使用场景
// c# code
The text was updated successfully, but these errors were encountered: