mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update nav qurey
This commit is contained in:
parent
4f402de8fb
commit
1498647513
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user