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