Skip to content

Commit

Permalink
Revert SqlBatch test
Browse files Browse the repository at this point in the history
Test other Ienumerable fix
  • Loading branch information
H-Yeo committed Jan 29, 2024
1 parent 567ff89 commit 135e4ea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
<summary>Initializes a new <see cref="SqlBatchCommand"/>.</summary>
<param name="commandText">The text of the <see cref="T:Microsoft.Data.SqlClient.SqlBatchCommand"/>.</param>
<param name="commandType">Indicates how the <see cref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText"/> property is to be interpreted.</param>
<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>
<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>
<param name="columnEncryptionSetting">The encryption setting. For more information, see [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine).</param>
<remarks>
<format type="text/markdown">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ public class SqlBatch : System.Data.Common.DbBatch
protected override System.Data.Common.DbBatchCommand CreateDbBatchCommand() => throw null;
}
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatch.xml' path='docs/members[@name="SqlBatch"]/SqlBatch/*'/>
public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
{
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor1/*'/>
public SqlBatchCommand() => throw null;
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor2/*'/>
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor2/*'/>
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; }
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/Parameters/*'/>
public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace Microsoft.Data.SqlClient
{
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatch.xml' path='docs/members[@name="SqlBatch"]/SqlBatch/*'/>
public partial class SqlBatchCommand
#if NET6_0_OR_GREATER
: DbBatchCommand
Expand Down

0 comments on commit 135e4ea

Please sign in to comment.