XPO使用了标准的System.Diagnostics的Trace Log机制,只需要在config文件中加入如下代码,即可在Debug时在输出窗口看到XPO生成的SQL语句。

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    
<system.diagnostics>
        
<switches>
            
<add name="XPO" value="3" />
        
</switches>
    
</system.diagnostics>
</configuration>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-12-29
  • 2021-06-07
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
猜你喜欢
  • 2021-07-11
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2021-07-03
相关资源
相似解决方案