Provide a way to parametize queries
It would be nice if it was possible to add parameters to a linqpad query so that when you run it you are prompted to supply a parameter value. I realise I can just edit the contents of the file with a new value, but being able to treat a linqpad query as a small program that takes some parameters and then returns results would be useful.
7
votes
John Mills
shared this idea
-
Gordy commented
This would be especially useful if the parameter could be bound to a textbox that re-executed the query as you typed
..turns out this is already baked! http://share.linqpad.net/d8o2g3.linq