mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 18:57:05 +08:00
Sqlite affected row count statistics error
This commit is contained in:
parent
a25463cb5c
commit
31f0532dee
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user