mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-14 15:15:47 +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