From 39f3cb959450d3b21e3677f096d8e21a45317a85 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 22 Dec 2022 17:55:44 +0800 Subject: [PATCH] Upate demo --- Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs b/Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs index e686403db..c013fbe1c 100644 --- a/Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs +++ b/Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs @@ -1,5 +1,6 @@ using SqlSugar; +MyTest(); ServerTest(); Console.Read(); @@ -7,8 +8,8 @@ static void MyTest() { var sqlugar = new SqlSugarClient(new ConnectionConfig() { - DbType = DbType.SqlServer, - ConnectionString = "SERVER=.;uid=sa;pwd=sasa;database=SqlSugar4Text4" + DbType = DbType.MySql, + ConnectionString = "server=localhost;Database=SqlSugar4xTest;Uid=root;Pwd=123456;" }, it => {