Synchronization code

This commit is contained in:
sunkaixuan
2022-10-26 13:08:35 +08:00
parent 954e461080
commit 7213ee5b7c

View File

@@ -775,11 +775,11 @@ namespace SqlSugar
} }
public UpdateNavTaskInit<T, T> UpdateNav<T>(T data,UpdateNavRootOptions rootOptions) where T : class, new() public UpdateNavTaskInit<T, T> UpdateNav<T>(T data,UpdateNavRootOptions rootOptions) where T : class, new()
{ {
return ScopedContext.UpdateNav(data); return ScopedContext.UpdateNav(data,rootOptions);
} }
public UpdateNavTaskInit<T, T> UpdateNav<T>(List<T> datas, UpdateNavRootOptions rootOptions) where T : class, new() public UpdateNavTaskInit<T, T> UpdateNav<T>(List<T> datas, UpdateNavRootOptions rootOptions) where T : class, new()
{ {
return ScopedContext.UpdateNav(datas); return ScopedContext.UpdateNav(datas,rootOptions);
} }
public SqlSugarClient CopyNew() public SqlSugarClient CopyNew()
{ {