"Referenced queries must have the same connection as the main query." in LINQPad 6

edited September 12
I'm using LINQPad 6.0.28, when both main query and child query using exact *SAME* database, I'm pretty sure these 2 query *IS* using the same database, and everything working fine in LINQPad 5. but I still get this error:


I managed to find this message this from here:


After same investigation, I changed Util.Run into these code, that's my work around:
	public static void Execute(string queryName)
{
queryName.Dump("Executing...");
var currentDir = Path.GetDirectoryName(Util.CurrentQueryPath);
Util.Cmd($@E:\_\LINQPad6\LPRun6.exe "{currentDir}\{queryName}.linq""");
}

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!