mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-25 04:27:14 +08:00
Update 人大金仓
This commit is contained in:
@@ -196,6 +196,11 @@ namespace SqlSugar
|
||||
dbType = "nchar(4000)";
|
||||
}
|
||||
}
|
||||
if (IsSqlServerModel()&&it.Value is byte[] bytes)
|
||||
{
|
||||
string bytesString = "0x" + BitConverter.ToString(bytes).Replace("-", "");
|
||||
return bytesString;
|
||||
}
|
||||
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType);
|
||||
|
||||
})) + ")");
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.211-preview03</version>
|
||||
<version>5.1.4.211-preview04</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
||||
Reference in New Issue
Block a user