mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Optimize the details
This commit is contained in:
@@ -366,6 +366,15 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//No navigation data set new List()
|
||||
foreach (var item in list)
|
||||
{
|
||||
var instance = Activator.CreateInstance(navObjectNamePropety.PropertyType, true);
|
||||
navObjectNamePropety.SetValue(item, instance);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user