Update json 2 sql demo

This commit is contained in:
sunkaixuan
2022-06-20 13:49:57 +08:00
parent cd366b8bd1
commit 5e9be3c1e9
2 changed files with 42 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ namespace Test
IsAutoCloseConnection = true,
ConnectionString = "server=localhost;Database=SqlSugar4xTest;Uid=root;Pwd=haosql"
}); ;
TestHelper.InitDatabase(jsonToSqlClient);
jsonToSqlClient.Context.Aop.OnLogExecuted = (sql, p) =>
{
Console.WriteLine(sql);
@@ -45,7 +47,5 @@ namespace Test
Console.WriteLine();
}
}
}