Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
5cf7a41772
  1. 2
      Src/Asp.NetCore2/SqlSeverTest/MySqlTest/Demos/DemoBase.cs
  2. 2
      Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Demos/DemoBase.cs
  3. 2
      Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Demos/DemoBase.cs

2
Src/Asp.NetCore2/SqlSeverTest/MySqlTest/Demos/DemoBase.cs

@ -14,7 +14,7 @@ namespace OrmTest.Demo
db.Ado.IsEnableLogEvent = true;
db.Ado.LogEventStarting = (sql, pars) =>
{
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
Console.WriteLine(sql + "\r\n" + pars);
Console.WriteLine();
};
return db;

2
Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Demos/DemoBase.cs

@ -14,7 +14,7 @@ namespace OrmTest.Demo
db.Ado.IsEnableLogEvent = true;
db.Ado.LogEventStarting = (sql, pars) =>
{
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
Console.WriteLine(sql + "\r\n" + pars);
Console.WriteLine();
};
return db;

2
Src/Asp.NetCore2/SqlSeverTest/SqliteTest/Demos/DemoBase.cs

@ -14,7 +14,7 @@ namespace OrmTest.Demo
db.Ado.IsEnableLogEvent = true;
db.Ado.LogEventStarting = (sql, pars) =>
{
Console.WriteLine(sql + "\r\n" + db.RewritableMethods.SerializeObject(pars));
Console.WriteLine(sql + "\r\n" + pars);
Console.WriteLine();
};
return db;

Loading…
Cancel
Save