Update nav qurey

This commit is contained in:
sunkaixuan 2023-08-26 12:40:12 +08:00
parent 4f402de8fb
commit 1498647513

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