Update demo

This commit is contained in:
sunkaixuan
2019-06-04 20:01:28 +08:00
parent 76d4dfef87
commit 4ea9b897e2
32 changed files with 70 additions and 173 deletions

View File

@@ -128,7 +128,7 @@ namespace OrmTest.UnitTest
public new SqlSugarClient GetInstance()
{
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.SqlServer });
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig() { ConnectionString = Config.ConnectionString, DbType = DbType.Oracle });
db.Aop.OnLogExecuting = (sql, pars) =>
{
Console.WriteLine(sql + " " + pars);