Skip to content

Commit

Permalink
Try to Resolve Batch/IEnumerable Errors
Browse files Browse the repository at this point in the history
Making slightly changes on which signature needs to be added to resolve errors.
  • Loading branch information
H-Yeo committed Jan 29, 2024
1 parent 9608bbd commit 567ff89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
<ctor2>
<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="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>
<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="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 All @@ -28,11 +28,7 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
</remarks>
</ctor2>
<Parameters>
<summary>
Gets the
<see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />
.
</summary>
<summary>Gets the <see cref="T:Microsoft.Data.SqlClient.SqlParameterCollection"/>.</summary>
<value>The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection.</value>
<remarks>
<format type="text/markdown">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ 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/*'/>
Expand Down

0 comments on commit 567ff89

Please sign in to comment.