mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 DbContext/Repository 局部调整;
This commit is contained in:
@ -12,7 +12,7 @@ namespace FreeSql
|
||||
public virtual int SaveChanges()
|
||||
{
|
||||
ExecCommand();
|
||||
_uow?.Commit();
|
||||
UnitOfWork?.Commit();
|
||||
var ret = _affrows;
|
||||
_affrows = 0;
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user