mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-17 15:15:48 +08:00
完成延时加载开发与测试,ICollection集合待支持
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
|
||||
|
||||
@@ -11,7 +12,7 @@ public class g {
|
||||
|
||||
.UseMonitorCommand(
|
||||
cmd => {
|
||||
Console.WriteLine(cmd.CommandText);
|
||||
Trace.WriteLine(cmd.CommandText);
|
||||
}, //监听SQL命令对象,在执行前
|
||||
(cmd, traceLog) => {
|
||||
Console.WriteLine(traceLog);
|
||||
|
||||
Reference in New Issue
Block a user