mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 修复 DbContext.Save 只查询不更新的bug;
This commit is contained in:
		@@ -285,7 +285,7 @@ namespace FreeSql
 | 
			
		||||
            if (flagExists == false)
 | 
			
		||||
            {
 | 
			
		||||
                var olddata = await OrmSelect(data).FirstAsync();
 | 
			
		||||
                if (olddata == null) flagExists = false;
 | 
			
		||||
                flagExists = olddata != null;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (flagExists == true && CanUpdate(data, false))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user