mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 01:05:27 +08:00 
			
		
		
		
	- 增加 IInsert IgnoreInsertValueSql 方法临时忽略 InsertValueSql 设置;
This commit is contained in:
		@@ -67,7 +67,7 @@ namespace FreeSql.Dameng.Curd
 | 
			
		||||
                    if (col.Attribute.IsIdentity == false && _ignore.ContainsKey(col.Attribute.Name)) continue;
 | 
			
		||||
 | 
			
		||||
                    if (colidx2 > 0) sb.Append(", ");
 | 
			
		||||
                    if (string.IsNullOrEmpty(col.DbInsertValue) == false)
 | 
			
		||||
                    if (string.IsNullOrEmpty(col.DbInsertValue) == false && _ignoreInsertValueSql.ContainsKey(col.Attribute.Name) == false)
 | 
			
		||||
                        sb.Append(col.DbInsertValue);
 | 
			
		||||
                    else
 | 
			
		||||
                    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user