From 7b4d896f4dd0aa02ade58268c1bd6db00ffe458b Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 16 Sep 2024 21:31:42 +0800 Subject: [PATCH] Update demo --- Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Config.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Config.cs b/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Config.cs index 0dad89257..9d378bca9 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Config.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/UserTestCases/Config.cs @@ -16,16 +16,16 @@ namespace SqlSeverTest.UserTestCases /// Account have permission to create database /// 用有建库权限的数据库账号 /// - public static string ConnectionString = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST"; + public static string ConnectionString = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST;Encrypt=True;TrustServerCertificate=True"; /// /// Account have permission to create database /// 用有建库权限的数据库账号 /// - public static string ConnectionString2 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST2"; + public static string ConnectionString2 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST2;Encrypt=True;TrustServerCertificate=True"; /// /// Account have permission to create database /// 用有建库权限的数据库账号 /// - public static string ConnectionString3 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST3"; + public static string ConnectionString3 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST3;Encrypt=True;TrustServerCertificate=True"; } }