mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 02:35:04 +08:00
Synchronization code
This commit is contained in:
@@ -193,7 +193,10 @@ namespace SqlSugar
|
||||
var result = 0;
|
||||
var x = await this.ToStorageAsync();
|
||||
result +=await x.AsInsertable.ExecuteCommandAsync();
|
||||
result +=await x.AsUpdateable.ExecuteCommandAsync();
|
||||
var updateCount=await x.AsUpdateable.ExecuteCommandAsync();
|
||||
if (updateCount < 0)
|
||||
updateCount = 0;
|
||||
result += updateCount;
|
||||
return result;
|
||||
}
|
||||
public int ExecuteSqlBulkCopy()
|
||||
|
Reference in New Issue
Block a user