Dos.Orm在输出界面显示sql语句

DbSession.RegisterSqlLogger(SQL=>Trace.WriteLine(SQL));
原文地址:https://www.cnblogs.com/ladyzhu/p/14282574.html