mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	- 修复 聚合根仓储(实验) 内部级联保存 bug;
This commit is contained in:
		@@ -268,7 +268,8 @@ namespace FreeSql
 | 
			
		||||
                UpdateColumns = b.Item4,
 | 
			
		||||
                UpdateColumnsString = string.Join(",", b.Item4.OrderBy(c => c))
 | 
			
		||||
            }).ToArray());
 | 
			
		||||
            var updateLogDict2 = updateLogDict.ToDictionary(a => a.Key, a => a.Value.ToDictionary(b => b.UpdateColumnsString, b => a.Value.Where(c => c.UpdateColumnsString == b.UpdateColumnsString).ToArray()));
 | 
			
		||||
            var updateLogDict2 = updateLogDict.ToDictionary(a => a.Key, a => 
 | 
			
		||||
                a.Value.GroupBy(b => b.UpdateColumnsString).ToDictionary(b => b.Key, b => a.Value.Where(c => c.UpdateColumnsString == b.Key).ToArray()));
 | 
			
		||||
            foreach (var dl in updateLogDict2)
 | 
			
		||||
            {
 | 
			
		||||
                foreach (var dl2 in dl.Value)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user