dotnetcore / FreeSql

🦄 .NET aot orm, C# orm, VB.NET orm, Mysql orm, Postgresql orm, SqlServer orm, Oracle orm, Sqlite orm, Firebird orm, 达梦 orm, 人大金仓 orm, 神通 orm, 翰高 orm, 南大通用 orm, 虚谷 orm, 国产 orm, Clickhouse orm, DuckDB orm, TDengine orm, QuestDB orm, MsAccess orm.
https://freesql.net
MIT License
4.13k stars 860 forks source link

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

Open cfires opened 3 days ago

cfires commented 3 days ago

问题描述及重现代码:

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 commented 3 days ago

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

cfires commented 1 day ago

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

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

2881099 commented 1 day ago

定位错误堆栈