mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 18:59:35 +08:00
Update InsertNav many to many
This commit is contained in:
parent
c50a96b624
commit
82a35bd8b5
@ -38,6 +38,10 @@ namespace SqlSugar
|
||||
foreach (var item in parentList)
|
||||
{
|
||||
var items= parentNavigateProperty.PropertyInfo.GetValue(item);
|
||||
if (items == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var children=((List<TChild>)items);
|
||||
InsertDatas(children, thisPkColumn);
|
||||
var parentId = parentPkColumn.PropertyInfo.GetValue(item);
|
||||
|
Loading…
Reference in New Issue
Block a user