Ability to turn off automatic population of DataContext with each query run
Sometimes it's very time-consuming for LINQPad to automatically repopulate the schema/datacontext with each run of a query. It would be great if there were a manual refresh mode, with the option to manually refresh the schema. (I'd even be able to live without the ability to trigger a refresh in a Query window, as the workaround presumably would be to save and reload the query, or to clone it.)
Great product. I purchased autocomplete I love this thing so much, but I'd love it more with this feature.
Thanks!
-
Mark Hurd commented
I'd also prefer it if a "stale" schema remained for IntelliSence purposes even if it was thrown away and regenerated when you actually hit "Run".
-
James Raden commented
The treeview itself is not refreshing or redrawing; instead it seems that the DataContext gets regenerated *before* the query is run. (The beta 4.26.2 shows a "Populating" message in the tree.)
Symptoms: elapsed time between hitting "Run" and getting results might be 30 seconds, but the status bar says "Query successful (00:01:232)
That's a very nice feature most of the time, but sometimes I'd like to turn it off. -
Are you saying that the Schema TreeView is refreshing itself after each query run?