Skip to content

Commit

Permalink
Update src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/SqlCommand/…
Browse files Browse the repository at this point in the history
…SqlCommandExecuteTest.cs

Co-authored-by: Cheena Malhotra <v-chmalh@microsoft.com>
  • Loading branch information
2 people authored and Davoud Eshtehari committed Sep 24, 2020
1 parent bc9af2b commit abde0a5
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -111,11 +111,9 @@ private static SqlCommand GetCommand(SqlConnection cnn)
+ string.Concat(Enumerable.Repeat(aRecord, 200)).Substring(0, (aRecord.Length * 200) - 1)
+ ") tbl_A ([Id], [Name], [State])";
cnn.Open();
using (var cmd = cnn.CreateCommand())
{
cmd.CommandText = query;
return cmd;
}
var cmd = cnn.CreateCommand();
cmd.CommandText = query;
return cmd;
}
#endregion

Expand Down

0 comments on commit abde0a5

Please sign in to comment.