This commit is contained in:
sunkaixuan 2022-08-28 18:08:43 +08:00
parent 92e9feb305
commit 6b968af5af
2 changed files with 5 additions and 0 deletions

View File

@ -418,6 +418,10 @@ namespace SqlSugar
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.GBase" : "SqlSugar.GBaseCore";
break;
case DbType.Odbc:
Check.Exception(SugarCompatible.IsFramework, "Odbc only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.Odbc" : "SqlSugar.OdbcCore";
break;
default:
throw new Exception("ConnectionConfig.DbType is null");
}

View File

@ -22,6 +22,7 @@ namespace SqlSugar
HG,
ClickHouse,
GBase,
Odbc,
Custom =900
}
}