mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update nav update
This commit is contained in:
@@ -121,7 +121,7 @@ namespace SqlSugar
|
||||
}
|
||||
private void UpdateRoot(bool isRoot, EntityColumnInfo nav)
|
||||
{
|
||||
if (isRoot && nav.Navigat.NavigatType != NavigateType.ManyToMany)
|
||||
if (isRoot && nav.Navigat.NavigatType != NavigateType.ManyToMany&&_RootOptions?.IsDisableUpdateRoot!=true)
|
||||
{
|
||||
UpdateRoot();
|
||||
}
|
||||
|
Reference in New Issue
Block a user