- 优化 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

@ -12,7 +12,7 @@ namespace FreeSql
public virtual int SaveChanges()
{
ExecCommand();
_uow?.Commit();
UnitOfWork?.Commit();
var ret = _affrows;
_affrows = 0;
return ret;