mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 12:09:29 +08:00
Synchronization code
This commit is contained in:
@@ -852,7 +852,14 @@ namespace SqlSugar
|
||||
var row = result.NewRow();
|
||||
foreach (var key in item.Keys)
|
||||
{
|
||||
row[key] = item[key];
|
||||
if (item[key] == null)
|
||||
{
|
||||
row[key] = DBNull.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
row[key] = item[key];
|
||||
}
|
||||
}
|
||||
|
||||
result.Rows.Add(row);
|
||||
|
Reference in New Issue
Block a user