Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这个问题已经被问到这里已经被回答了。但是我面临的问题是我无法查看在输出窗口中生成的 SQL。我正在使用 EF6,并认为这是一个简单的问题。附上截图供您参考。
我错过了什么吗?
谢谢
这与 Visual Studio 菜单 > 工具 > 选项 > 调试 > 常规中的设置有很大关系:
答案简单而准确。从下面的帖子中解决了这个问题。 https://stackoverflow.com/a/29263113/3234286