Update .net core project

This commit is contained in:
sunkaixuan 2022-09-14 00:50:00 +08:00
parent 752f375707
commit 519b7f43cf

View File

@ -365,9 +365,16 @@ namespace SqlSugar
return value;
}
else if (UtilMethods.IsNumber(type.Name))
{
if (value.ObjToString().Contains(","))
{
return $"'{value}'";
}
else
{
return value;
}
}
else
{
return "N'" + value.ToString() + "'";