mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -169,7 +169,7 @@ namespace SqlSugar
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
return bytesString;
|
||||
}
|
||||
else if (type.IsEnum())
|
||||
{
|
||||
|
@@ -262,7 +262,7 @@ namespace SqlSugar
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
return bytesString;
|
||||
}
|
||||
else if (type.IsEnum())
|
||||
{
|
||||
|
@@ -112,7 +112,7 @@ namespace SqlSugar
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
return bytesString;
|
||||
}
|
||||
else if (type == UtilConstants.BoolType)
|
||||
{
|
||||
|
@@ -61,7 +61,7 @@ namespace SqlSugar
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
return bytesString;
|
||||
}
|
||||
else if (type == UtilConstants.BoolType)
|
||||
{
|
||||
|
@@ -58,8 +58,8 @@ namespace SqlSugar
|
||||
}
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = System.Text.Encoding.ASCII.GetString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return bytesString;
|
||||
}
|
||||
else if (type == UtilConstants.BoolType)
|
||||
{
|
||||
|
@@ -56,8 +56,8 @@ namespace SqlSugar
|
||||
}
|
||||
else if (type == UtilConstants.ByteArrayType)
|
||||
{
|
||||
string bytesString = System.Text.Encoding.ASCII.GetString((byte[])value);
|
||||
return "N'" + bytesString + "'";
|
||||
string bytesString = "0x" + BitConverter.ToString((byte[])value);
|
||||
return bytesString;
|
||||
}
|
||||
else if (type == UtilConstants.BoolType)
|
||||
{
|
||||
|
Reference in New Issue
Block a user