Update db.UpdateNav

This commit is contained in:
sunkaixuan
2023-03-08 16:48:06 +08:00
parent ffd0a68d7e
commit d6692666f9
2 changed files with 2 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ namespace SqlSugar
var x = this._Context.Storageable(item).ToStorage();
if (x.InsertList.HasValue())
{
newRoots.Add(x.AsInsertable.EnableDiffLogEventIF(_RootOptions.IsDiffLogEvent, _RootOptions.DiffLogBizData).ExecuteReturnEntity());
newRoots.Add(x.AsInsertable.IgnoreColumns(_RootOptions.IgnoreInsertColumns).EnableDiffLogEventIF(_RootOptions.IsDiffLogEvent, _RootOptions.DiffLogBizData).ExecuteReturnEntity());
}
else
{

View File

@@ -30,6 +30,7 @@ namespace SqlSugar
public bool IsDisableUpdateRoot { get; set; }
public bool IsDiffLogEvent { get; set; }
public object DiffLogBizData { get; set; }
public string[] IgnoreInsertColumns { get; set; }
}
public class UpdateNavOptions
{