Browse Source

Upate demo

pull/30/head
sunkaixuan 2 years ago
parent
commit
39f3cb9594
  1. 5
      Src/Asp.NetCore2/Net7Test/NET7Test/NET7Test/Program.cs

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

Loading…
Cancel
Save