diff --git a/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs b/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs index 5555949fb..b4fcdd6fd 100644 --- a/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs +++ b/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs @@ -321,6 +321,10 @@ namespace SqlSugar { return "SqlSugar.GBase.GBase" + name; } + else if (type == "Odbc") + { + return "SqlSugar.Odbc.Odbc" + name; + } else if (type == "Custom") { return CustomNamespace + "."+CustomDbName + name;