Skip to content

Commit 135e4ea

Browse files
committed
Revert SqlBatch test
Test other Ienumerable fix
1 parent 567ff89 commit 135e4ea

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
1818
<summary>Initializes a new <see cref="SqlBatchCommand"/>.</summary>
1919
<param name="commandText">The text of the <see cref="T:Microsoft.Data.SqlClient.SqlBatchCommand"/>.</param>
2020
<param name="commandType">Indicates how the <see cref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText"/> property is to be interpreted.</param>
21-
<param name="parameters">A <see cref="M:System.Collection.Generic.IEnumerable&lt;Microsoft.Data.SqlClient.SqlParameter&gt;"/>, which is used to create the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection"/>.</param>
21+
<param name="parameters">A <see cref="T:System.Collection.Generic.IEnumerable"/> collection of <see cref="T:Microsoft.Data.SqlClient.SqlParameter"/>s, is used to create the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection"/>.</param>
2222
<param name="columnEncryptionSetting">The encryption setting. For more information, see [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine).</param>
2323
<remarks>
2424
<format type="text/markdown">

src/Microsoft.Data.SqlClient/ref/Microsoft.Data.SqlClient.Batch.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ public class SqlBatch : System.Data.Common.DbBatch
5151
protected override System.Data.Common.DbBatchCommand CreateDbBatchCommand() => throw null;
5252
}
5353
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
54-
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatch.xml' path='docs/members[@name="SqlBatch"]/SqlBatch/*'/>
5554
public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
5655
{
5756
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor1/*'/>
5857
public SqlBatchCommand() => throw null;
59-
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor2/*'/>
58+
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor2/*'/>
6059
public SqlBatchCommand(string commandText, System.Data.CommandType commandType = System.Data.CommandType.Text, System.Collections.Generic.IEnumerable<Microsoft.Data.SqlClient.SqlParameter> parameters = null, Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting columnEncryptionSetting = Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.UseConnectionSetting) { throw null; }
6160
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/Parameters/*'/>
6261
public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } }

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace Microsoft.Data.SqlClient
1111
{
1212
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
13-
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatch.xml' path='docs/members[@name="SqlBatch"]/SqlBatch/*'/>
1413
public partial class SqlBatchCommand
1514
#if NET6_0_OR_GREATER
1615
: DbBatchCommand

0 commit comments

Comments
 (0)