mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update NavigateManager
This commit is contained in:
parent
193e1bd303
commit
b1f4f6deea
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user