mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +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