mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 09:54:44 +08:00
Update NavigateManager
This commit is contained in:
@@ -265,6 +265,17 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach (var listItem in list)
|
||||||
|
{
|
||||||
|
if (navObjectNamePropety.GetValue(listItem) == null)
|
||||||
|
{
|
||||||
|
var newinstance = Activator.CreateInstance(navObjectNamePropety.PropertyType, true) as IList;
|
||||||
|
navObjectNamePropety.SetValue(listItem,newinstance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void SkipTakeIList(SqlInfo sql, IList instanceCast, IList newinstance)
|
private static void SkipTakeIList(SqlInfo sql, IList instanceCast, IList newinstance)
|
||||||
|
|||||||
Reference in New Issue
Block a user