From 442c3d4ed659b05e960e7f2747b41c8488793905 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期五, 27 十二月 2024 14:53:31 +0800 Subject: [PATCH] 忽略项 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs index 48abb76..7ab5c6c 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Core/Helper/SqlSugarHelper.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEA_Core.Seed; namespace WIDESEA_Core.Helper { @@ -15,7 +16,7 @@ //鐢ㄥ崟渚嬫ā寮� public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig() { - ConnectionString = "Data Source=.;Initial Catalog=WIDESEAWCS_TEST;User ID=sa;Password=P@ssw0rd;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",//杩炴帴绗﹀瓧涓� + ConnectionString = DBContext.GetMainConnectionDb().Connection, DbType = DbType.SqlServer,//鏁版嵁搴撶被鍨� IsAutoCloseConnection = true //涓嶈鎴恡rue瑕佹墜鍔╟lose }, -- Gitblit v1.9.3