mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
SqlSugar:Improve the NoSql extension
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user