Its easy enough to instantiate multiple DataContexts in LINQPad. Is there any way to set these instances to Log to the "SQL" Tab of the results pane?
Setting myDataContext.Log = this.Log doesn't work.
The SQL tab output writer is now exposed in the latest LINQPad build:
myDataContext.Log = Util.SqlOutputWriter;
The latest build also refreshes both results and SQL output in real-time.
The author doesn't expose this currently, the output doesn't really behave in a steam-like way. (Refreshed on result/action instead of a constant paint)
However, you can request features for LINQPad on UserVoice, and hope that it makes a future release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With