mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 04:13:48 +08:00
Synchronization code
This commit is contained in:
parent
ecd7d5409a
commit
3992b92337
@ -476,6 +476,10 @@ namespace SqlSugar
|
||||
{
|
||||
return "Guid.NewGuid()";
|
||||
}
|
||||
if (item.DataType?.ToString()?.EndsWith("unsigned")==true)
|
||||
{
|
||||
return convertString;
|
||||
}
|
||||
if (item.DataType == "bit")
|
||||
return (convertString == "1" || convertString.Equals("true", StringComparison.CurrentCultureIgnoreCase)).ToString().ToLower();
|
||||
string result = this.Context.Ado.DbBind.GetConvertString(item.DataType) + "(\"" + convertString + "\")";
|
||||
|
Loading…
Reference in New Issue
Block a user