how to see generated sql from a linq query

后端 未结 7 1387
忘掉有多难
忘掉有多难 2020-12-10 01:22

Just trying to get the sql that is generated by a linq query.

相关标签:
7条回答
  • 2020-12-10 01:59

    You can use Diagnostic tools in Visual Studio to see the generated query.

    To enable this, go to top right corner, there you can see quick search and type diagnostic tools.

    In the results, click on appropriate option and see below for query generated.

    0 讨论(0)
提交回复
热议问题