mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 修复 ToList(a => new Dto {}) 这种情况按字段名匹配r问题,应该按属性名;#208
This commit is contained in:
		@@ -140,7 +140,7 @@ namespace FreeSql.Internal
 | 
			
		||||
                        {
 | 
			
		||||
                            foreach (var dtTb in _tables)
 | 
			
		||||
                            {
 | 
			
		||||
                                if (dtTb.Table.Columns.TryGetValue(dtoProp.Name, out var trydtocol) == false) continue;
 | 
			
		||||
                                if (dtTb.Table.ColumnsByCs.TryGetValue(dtoProp.Name, out var trydtocol) == false) continue;
 | 
			
		||||
                                if (trydtocol.Attribute.IsIgnore == true) continue;
 | 
			
		||||
 | 
			
		||||
                                var child = new ReadAnonymousTypeInfo
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user