mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-21 18:48:27 +08:00
Update 人大金仓
This commit is contained in:
@@ -167,6 +167,18 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
dbType = "varchar(max)";
|
dbType = "varchar(max)";
|
||||||
}
|
}
|
||||||
|
else if (dbType == "nvarchar")
|
||||||
|
{
|
||||||
|
dbType = "nvarchar(max)";
|
||||||
|
}
|
||||||
|
else if (dbType == "char")
|
||||||
|
{
|
||||||
|
dbType = "char(100)";
|
||||||
|
}
|
||||||
|
else if (dbType == "nchar")
|
||||||
|
{
|
||||||
|
dbType = "nchar(100)";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType);
|
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it, FormatValue(it.Value)), dbType);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user