mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
修复使用New出来的复杂模型UpdateAble时报错的问题
This commit is contained in:
@@ -282,6 +282,7 @@ namespace SqlSugar
|
||||
{
|
||||
foreach (var column in EntityInfo.Columns)
|
||||
{
|
||||
if (column.IsIgnore) continue;
|
||||
var columnInfo = new DbColumnInfo()
|
||||
{
|
||||
Value = column.PropertyInfo.GetValue(item, null),
|
||||
|
Reference in New Issue
Block a user