mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 01:47:06 +08:00
Update ContextMethods
This commit is contained in:
parent
0fa895ac42
commit
59335aa1be
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user