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!
![](https://secure.gravatar.com/avatar/3e94a12f62e71fdf291771990777844e?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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?