Stored Procedure working in LP5, but not LP6.
I have a stored procedure that accepts an XElement as an input parameter and returns a pretty standard DataSet. I have it working in LinqPad5, and a Visual Studio .NET Core application, but in LP6, the stored procedure returns a NullReferenceException. Intellisense resolves it until run time, then NRE.
I've tried working straight out of the box with System.Data.SqlClient and I've tried with Microsoft.Data.SqlClient. From the NRE message it looks like linqpad is only attempting to use the System.Data.SqlClient.
Comments
Looks like an issue in .NET Core. You could use the following code for SQL server, derived from the decompiled version (F12 / goto ExecuteStoredProcedure in ILSpy).