Skip to content

Commit

Permalink
Update DamengUtils.cs
Browse files Browse the repository at this point in the history
当 value 等于null 时 string.Concat 返回 ""
  • Loading branch information
jinghongbo authored Jun 11, 2021
1 parent e8941be commit 0c7c073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Providers/FreeSql.Provider.Dameng/DamengUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public override DbParameter[] GetDbParamtersByObject(string sql, object obj) =>
case DmDbType.Char:
case DmDbType.VarChar:
case DmDbType.Text:
value = string.Concat(value);
if(value != null)
value = string.Concat(value);
break;
}
}
Expand Down

0 comments on commit 0c7c073

Please sign in to comment.