- 优化 DbContext/Repository 局部调整;

This commit is contained in:
28810
2019-08-13 19:13:48 +08:00
parent 79ab3ae217
commit a79ee52b4f
14 changed files with 211 additions and 197 deletions

View File

@ -13,7 +13,7 @@ namespace FreeSql
async public virtual Task<int> SaveChangesAsync()
{
await ExecCommandAsync();
_uow?.Commit();
UnitOfWork?.Commit();
var ret = _affrows;
_affrows = 0;
return ret;