Skip to content
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

xugu虚谷数据库创建FreeSql后DbType是PostgreSQL #1933

Open
cfires opened this issue Nov 26, 2024 · 3 comments
Open

xugu虚谷数据库创建FreeSql后DbType是PostgreSQL #1933

cfires opened this issue Nov 26, 2024 · 3 comments

Comments

@cfires
Copy link

cfires commented Nov 26, 2024

问题描述及重现代码:

var freeSqlBuilder = new FreeSql.FreeSqlBuilder()
   .UseConnectionString(dbType, master.ConnectionString);
var fsql = freeSqlBuilder.Build();


通过fsql.Ado.DataType获取到的值并不是Xugu,而是PostgreSQL

数据库版本

xugu11

安装的Nuget包

FreeSql最新包3.2.833

.net framework/. net core? 及具体版本

.Net8

@cfires
Copy link
Author

cfires commented Nov 26, 2024

.UseConnectionString(dbType, master.ConnectionString)中dbType是Xugu,ado.MasterPool=FreeSql.Xugu.XuguConnectionPool

@cfires
Copy link
Author

cfires commented Nov 28, 2024

.UseConnectionString(dbType, master.ConnectionString)中dbType是Xugu,ado.MasterPool=FreeSql.Xugu.XuguConnectionPool

预览版只能更新到3.5.100-preview20241113,后边的两个小版本3.5.100-preview20241123和3.5.100-preview20241127更新时提示“解码时找到无效数据”

@2881099
Copy link
Collaborator

2881099 commented Nov 28, 2024

定位错误堆栈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants