-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
highgo瀚高数据库不支持Top语法 #1722
Comments
FreeSqlBuilder DataType 选择的是什么 |
DataType:17,Custom |
DataType.CustomPostgreSQL 用这个 |
现在用的是Factory方式
改用DataType.CustomPostgreSQL对应的连接类是哪个? |
也是这样,只是改一下 DataType.CustomPostgreSQL |
var fsql = new FreeSqlBuilder()
.UseConnectionFactory(DataType.CustomPostgreSQL, () =>
new NhgdbConnection("Data Source=..."))
.UseNoneCommandParameter(true)
.UseMonitorCommand(cmd => Console.WriteLine(cmd.CommandText))
.Build();
fsql.SetDbProviderFactory(NhgdbConnectorFactory.Instance); |
问题描述及重现代码:
highgo瀚高数据库不支持Top语法,需要使用limit语法替换
数据库版本
瀚高安全版数据库V4.5
安装的Nuget包
FreeSql.All(3.2.808)
.net framework/. net core? 及具体版本
.Net 6
The text was updated successfully, but these errors were encountered: