I have just been adding these two lines (comment and command) to any linqpad script querying production databases as the first command to execute prior to running the query. Usually at the start of Main().
// Required to prevent concurrent locking of transactions
this.ExecuteCommand("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;");
I have just been adding these two lines (comment and command) to any linqpad script querying production databases as the first command to execute prior to running the query. Usually at the start of Main().
// Required to prevent concurrent locking of transactions
this.ExecuteCommand("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;");