阅读背景:

如何将EF生成的SQL查询跟踪回创建它的代码

来源:互联网 

I have a problem with some slow running queries that we only see in production, and I can see the poorly performing SQL in the profiler, however, I don't know how I can use this to trace back to the code that generated the statement in the first place, or if tracing back to the EF query is even possible. Does EF have any ability to identify the origin of the SQL statement to help trace down the problem in the code?I have a problem with some slow running queries




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: