mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-17 21:49:33 +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));
|
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;
|
return keys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user