mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 DbContext/Repository 局部调整;
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user