We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce78109 commit 1215739Copy full SHA for 1215739
1 file changed
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/JsonTest/JsonTest.cs
@@ -302,7 +302,8 @@ public void TestJsonAPIs()
302
[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.IsJsonSupported))]
303
public void TestJsonWithMARS()
304
{
305
- using SqlConnection connection = new(DataTestUtility.TCPConnectionString + "MultipleActiveResultSets=True;");
+ SqlConnectionStringBuilder csbMarsEnabledTcp = new(DataTestUtility.TCPConnectionString) { MultipleActiveResultSets = true };
306
+ using SqlConnection connection = new(csbMarsEnabledTcp.ConnectionString);
307
connection.Open();
308
309
using Table jsonTable1 = new(connection, nameof(TestJsonWithMARS), "(Data json)");
0 commit comments