Update Core

This commit is contained in:
sunkaixuan
2022-05-13 20:44:40 +08:00
parent e9a469baad
commit b27e322bb2
3 changed files with 19 additions and 6 deletions

View File

@@ -71,6 +71,15 @@ namespace SqlSugar
if (thisValue != null) return thisValue.ToString().Trim();
return "";
}
public static string ObjToStringNew(this object thisValue)
{
if (thisValue != null && thisValue is byte[])
{
return string.Join("|",thisValue as byte[]);
}
if (thisValue != null) return thisValue.ToString().Trim();
return "";
}
public static string ObjToString(this object thisValue, string errorValue)
{