I aways copy LINQtoSql query from code to LINQPad for testing, but it have a little inconvenient of this.
My code:
But when I copy it to LINQPad for testing:
LINQPad can't recognizing the database context "db", so I have to remove "db" manually.
Is there any way to solve this problem?
Start your query with the line
var db = this;