|
@ -111,7 +111,7 @@ namespace SqlSugar |
|
|
} |
|
|
} |
|
|
else if (type == UtilConstants.ByteArrayType) |
|
|
else if (type == UtilConstants.ByteArrayType) |
|
|
{ |
|
|
{ |
|
|
string bytesString = System.Text.Encoding.ASCII.GetString((byte[])value); |
|
|
string bytesString = "0x" + BitConverter.ToString((byte[])value); |
|
|
return "N'" + bytesString + "'"; |
|
|
return "N'" + bytesString + "'"; |
|
|
} |
|
|
} |
|
|
else if (type == UtilConstants.BoolType) |
|
|
else if (type == UtilConstants.BoolType) |
|
|