mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 01:05:27 +08:00 
			
		
		
		
	- 增加 IsVersion 对 byte[] 的支持;#548
This commit is contained in:
		@@ -85,7 +85,7 @@ namespace FreeSql.MySql.Curd
 | 
			
		||||
 | 
			
		||||
                    if (colidx > 0) sb.Append(", \r\n");
 | 
			
		||||
 | 
			
		||||
                    if (col.Attribute.IsVersion == true)
 | 
			
		||||
                    if (col.Attribute.IsVersion == true && col.Attribute.MapType != typeof(byte[]))
 | 
			
		||||
                    {
 | 
			
		||||
                        var field = _mysqlInsert.InternalCommonUtils.QuoteSqlName(col.Attribute.Name);
 | 
			
		||||
                        sb.Append(field).Append(" = ").Append(field).Append(" + 1");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user