From 597e02b35b488f93431294d66817f3c91cc884c2 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Tue, 11 Mar 2025 17:58:58 +0800 Subject: [PATCH] Support Db2 --- Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs b/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs index ef44693b7..d05de1e9f 100644 --- a/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs +++ b/Src/Asp.NetCore2/SqlSugar/Infrastructure/InstanceFactory.cs @@ -440,6 +440,10 @@ namespace SqlSugar { return InstanceFactory.CustomDllName + "." + type + name; } + else if (type == "DB2") + { + return "SqlSugar.DB2."+ type+ name; + } else { //if (!string.IsNullOrEmpty(CustomDllName))