mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update updateNav
This commit is contained in:
@@ -63,7 +63,14 @@ namespace SqlSugar
|
||||
{
|
||||
Check.ExceptionEasy($"{name} no navigate attribute", $"{this._ParentEntity.EntityName}的属性{name}没有导航属性");
|
||||
}
|
||||
UpdateRoot(isRoot, nav);
|
||||
if (_RootOptions != null && _RootOptions.IsDisableUpdateRoot)
|
||||
{
|
||||
//Future
|
||||
}
|
||||
else
|
||||
{
|
||||
UpdateRoot(isRoot, nav);
|
||||
}
|
||||
IsFirst = false;
|
||||
if (nav.Navigat.NavigatType == NavigateType.OneToOne || nav.Navigat.NavigatType == NavigateType.ManyToOne)
|
||||
{
|
||||
|
@@ -27,6 +27,7 @@ namespace SqlSugar
|
||||
public string[] IgnoreColumns { get; set; }
|
||||
public string[] UpdateColumns { get; set; }
|
||||
public bool IsInsertRoot { get; set; }
|
||||
public bool IsDisableUpdateRoot { get; set; }
|
||||
public bool IsDiffLogEvent { get; set; }
|
||||
public object DiffLogBizData { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user