|
|
@ -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"); |
|
|
|
} |
|
|
|