mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 21:19:34 +08:00
SqlSugar:Improve the NoSql extension
This commit is contained in:
parent
d20573f1b1
commit
552d9d230f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user