mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
测试Array常用查询函数
This commit is contained in:
@ -583,9 +583,13 @@ where a.database in ({0}) and a.table in ({1})", tboldname ?? tbname);
|
||||
if (isPrimary)
|
||||
{
|
||||
if (dbType.Contains("Nullable"))
|
||||
return dbType.Replace("Nullable(", "")
|
||||
{
|
||||
var res = dbType.Replace("Nullable(", "")
|
||||
.Replace(")", "")
|
||||
.Replace(" NOT NULL", "");
|
||||
return res;
|
||||
}
|
||||
|
||||
return dbType;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user