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 => {