技术开发 频道

在ASP.NET中了解LINQ语句性能

 加上_context.Log = LogHelper.In:

 public Repository()

 {

 _context = new TDataContext();

 _context.Log = LogHelper.In;

 }

 打开log.aspx,即可看到之前执行的SQL语句。

0
相关文章