Update DamengUtils.cs

当 value 等于null 时 string.Concat 返回 ""
This commit is contained in:
jinghongbo 2021-06-11 10:53:46 +08:00 committed by GitHub
parent e8941be89e
commit 0c7c073e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,8 @@ namespace FreeSql.Dameng
case DmDbType.Char: case DmDbType.Char:
case DmDbType.VarChar: case DmDbType.VarChar:
case DmDbType.Text: case DmDbType.Text:
value = string.Concat(value); if(value != null)
value = string.Concat(value);
break; break;
} }
} }