|
|
@ -91,7 +91,7 @@ namespace DS.WMS.PrintApi.Middleware
|
|
|
|
dbProvider.Aop.OnLogExecuted = (sql, pars) =>
|
|
|
|
dbProvider.Aop.OnLogExecuted = (sql, pars) =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//执行完了可以输出SQL执行时间 (OnLogExecutedDelegate)
|
|
|
|
//执行完了可以输出SQL执行时间 (OnLogExecutedDelegate)
|
|
|
|
Console.Write("time:" + db.Ado.SqlExecutionTime.ToString());
|
|
|
|
//Console.Write("time:" + db.Ado.SqlExecutionTime.ToString());
|
|
|
|
};
|
|
|
|
};
|
|
|
|
dbProvider.Aop.OnDiffLogEvent = it =>
|
|
|
|
dbProvider.Aop.OnDiffLogEvent = it =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|