Settings and activity
3 results found
-
4 votes
An error occurred while saving the comment An error occurred while saving the comment Richard McCormack commentedWould also be great if we could set some text in the ExecutionEngine or ExecutionContext that would be output before the query.
When the script runs lots of queries it is hard to determine which query is which.
e.g.
ExecutionEngine.Context = "First query";
// exec EF query
ExecutionEngine.Context = "Second query";
// exec EF queryWould output:
--First query
--Region Parameters...--Second query
--Region Parameters...Richard McCormack supported this idea · -
3 votesRichard McCormack shared this idea ·
-
7 votesRichard McCormack supported this idea ·
Or perhaps use a region:
#region First query
// exec EF query
#endregion
#region Second query
// exec EF query
#endregion
Would output:
--Region First query
--Region Parameters...
--Region Second query
--Region Parameters...