سؤال

I'm trying to find out what the text is of a select statement made against SQL Server using Entity Framework. The CommandText property under both IntelliTrace and the debugger truncate the text to exactly 4096 characters in the text view. Is there a way to see all of it or to configure these tools to at least raise the limit?

Update: This still occurs as part of the VS 2015 Diagnostic Tools.

هل كانت مفيدة؟

المحلول

I ran into this same limitation.

I started using the MS-SQL profiler to see the entire command text. There are other profilers and NuGet packages to be able to see the entire command.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top