Skip to content

Commit 567ff89

Browse files
committed
Try to Resolve Batch/IEnumerable Errors
Making slightly changes on which signature needs to be added to resolve errors.
1 parent 9608bbd commit 567ff89

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
1717
<ctor2>
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>
20-
<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="T:System.Collection.Generic.IEnumerable&lt;Microsoft.Data.SqlClient.SqlParameter&gt;" />, which is used to create the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.</param>
20+
<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>
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">
@@ -28,11 +28,7 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
2828
</remarks>
2929
</ctor2>
3030
<Parameters>
31-
<summary>
32-
Gets the
33-
<see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />
34-
.
35-
</summary>
31+
<summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection"/>.</summary>
3632
<value>The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection.</value>
3733
<remarks>
3834
<format type="text/markdown">

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ 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/*'/>
5455
public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
5556
{
5657
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor1/*'/>

0 commit comments

Comments
 (0)