mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-05 13:17:57 +08:00
Update owns one
This commit is contained in:
parent
85817abcba
commit
4d6f0af01c
@ -160,7 +160,12 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
item.PropertyInfo.SetValue(parentObj, dataReader.GetValue(itemIndex));
|
||||
var setValue = dataReader.GetValue(itemIndex);
|
||||
if (setValue == DBNull.Value)
|
||||
{
|
||||
setValue = null;
|
||||
}
|
||||
item.PropertyInfo.SetValue(parentObj, setValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.161-preview12</version>
|
||||
<version>5.1.4.161-preview13</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user