mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update json 2 sql demo
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user