Update Oracle

This commit is contained in:
sunkaixuan
2017-10-01 11:17:20 +08:00
parent 8a2075925a
commit 361cd1fe4a
7 changed files with 14 additions and 44 deletions

View File

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