mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update db.UpdateNav
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user