mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
Synchronization code
This commit is contained in:
parent
f7f197359e
commit
2c50c09e43
@ -25,7 +25,10 @@ namespace SqlSugar
|
|||||||
// 遍历所有列并将其添加到字典中
|
// 遍历所有列并将其添加到字典中
|
||||||
foreach (DataColumn column in row.Table.Columns)
|
foreach (DataColumn column in row.Table.Columns)
|
||||||
{
|
{
|
||||||
dictionary.Add(column.ColumnName, row[column]);
|
if (column.ColumnName != "Items" && column.DataType.Name.IsCollectionsList() == false)
|
||||||
|
{
|
||||||
|
dictionary.Add(column.ColumnName, row[column]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return dictionary;
|
return dictionary;
|
||||||
|
Loading…
Reference in New Issue
Block a user