mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
排除为 null 的情况
比如第一行 name null,第二行 name "xxx"
This commit is contained in:
parent
d9093c840a
commit
562a436878
@ -130,7 +130,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
{
|
||||
foreach (string key in item.Keys)
|
||||
{
|
||||
if (!tempDict.ContainsKey(key))
|
||||
if (!tempDict.ContainsKey(key) && !(item[key] is null))
|
||||
{
|
||||
tempDict[key] = item[key];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user