mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-26 13:43:10 +08:00
Update DbFirst
This commit is contained in:
@@ -561,6 +561,10 @@ namespace SqlSugar
|
||||
}
|
||||
if (item.DataType == "bit")
|
||||
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 + "\")";
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user