mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	v1.4.0-preview20200410
This commit is contained in:
		@@ -476,7 +476,7 @@ namespace FreeSql.Internal.CommonProvider
 | 
			
		||||
                foreach (var kv in dic)
 | 
			
		||||
                {
 | 
			
		||||
                    if (_table.ColumnsByCs.TryGetValue(kv.Key, out var trycol) == false) continue;
 | 
			
		||||
                    if (_ignore.ContainsKey(kv.Key)) continue;
 | 
			
		||||
                    if (_ignore.ContainsKey(trycol.Attribute.Name)) continue;
 | 
			
		||||
                    SetPriv(trycol, kv.Value);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
@@ -484,7 +484,7 @@ namespace FreeSql.Internal.CommonProvider
 | 
			
		||||
            foreach (var dtoProp in dtoProps)
 | 
			
		||||
            {
 | 
			
		||||
                if (_table.ColumnsByCs.TryGetValue(dtoProp.Name, out var trycol) == false) continue;
 | 
			
		||||
                if (_ignore.ContainsKey(dtoProp.Name)) continue;
 | 
			
		||||
                if (_ignore.ContainsKey(trycol.Attribute.Name)) continue;
 | 
			
		||||
                SetPriv(trycol, dtoProp.GetValue(dto, null));
 | 
			
		||||
            }
 | 
			
		||||
            return this;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user