Synchronization code

This commit is contained in:
sunkaixuan
2022-05-16 13:18:40 +08:00
parent b5b2e79a16
commit f7917d1131

View File

@@ -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);
}
}
} }
} }