mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
Synchronization code
This commit is contained in:
parent
8c536e1d83
commit
f2983b612c
@ -561,6 +561,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
if (item.DataType == "bit")
|
if (item.DataType == "bit")
|
||||||
return (convertString == "1" || convertString.Equals("true", StringComparison.CurrentCultureIgnoreCase)).ToString().ToLower();
|
return (convertString == "1" || convertString.Equals("true", StringComparison.CurrentCultureIgnoreCase)).ToString().ToLower();
|
||||||
|
if (convertString.EqualCase("NULL"))
|
||||||
|
{
|
||||||
|
return "null";
|
||||||
|
}
|
||||||
string result = this.Context.Ado.DbBind.GetConvertString(item.DataType) + "(\"" + convertString + "\")";
|
string result = this.Context.Ado.DbBind.GetConvertString(item.DataType) + "(\"" + convertString + "\")";
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user