SqlSugar:Improve the NoSql extension

This commit is contained in:
sunkaixuan 2025-05-05 15:07:09 +08:00
parent d20573f1b1
commit 552d9d230f

View File

@ -281,7 +281,14 @@ namespace SqlSugar
sbTypes.Append(type.Name.Substring(0, 2));
}
}
types = sbTypes.ToString();
types = sbTypes.ToString();
if (this.QueryBuilder?.Context?.Ado is AdoProvider adoProvider)
{
if (adoProvider.IsNoSql)
{
types = "NoSql";
}
}
return keys;
}