Update nav update

This commit is contained in:
sunkaixuan
2023-08-26 12:36:39 +08:00
parent 916eb92e85
commit 4f402de8fb

View File

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