优化代码

This commit is contained in:
sunkaixuan
2024-06-13 17:26:06 +08:00
parent 78ac8efe0b
commit fbc715658a

View File

@@ -22,7 +22,7 @@ namespace SqlSugar.GBase
{ {
try try
{ {
base._DbConnection = new GbsConnection(base.Context.CurrentConnectionConfig.ConnectionString); base._DbConnection = new GbsConnection(base.Context.CurrentConnectionConfig.ConnectionString?.Replace("Driver={GBase ODBC DRIVER (64-Bit)};",string.Empty));
} }
catch (Exception ex) catch (Exception ex)
{ {