mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Sqlite affected row count statistics error
This commit is contained in:
@@ -73,7 +73,9 @@ namespace SqlSugar
|
||||
var result = 0;
|
||||
var x = this.ToStorage();
|
||||
result+=x.AsInsertable.ExecuteCommand();
|
||||
result += x.AsUpdateable.ExecuteCommand();
|
||||
var updateRow = x.AsUpdateable.ExecuteCommand();
|
||||
if (updateRow < 0) updateRow = 0;
|
||||
result += updateRow;
|
||||
return result;
|
||||
}
|
||||
public async Task<int> ExecuteCommandAsync()
|
||||
|
Reference in New Issue
Block a user