Skip to content

Commit

Permalink
Updates to SqlBatchCommand PR failures
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeo committed Jan 19, 2024
1 parent 532ed2a commit e47715c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
14 changes: 3 additions & 11 deletions doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Expand Up @@ -76,21 +76,13 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
<inheritdoc cref="System.Data.Common.DbBatchCommand.CommandText"/>
</CommandText>
<CommandType>
<inheritdoc cref="System.Data.CommandType" />
<inheritdoc cref="System.Data.Common.DbBatchCommand.CommandType" />
</CommandType>
<DbParameterCollection>
<inheritdoc cref="System.Data.Common.DbParameterCollection" />
<inheritdoc cref="System.Data.Common.DbBatchCommand.DbParameterCollection" />
</DbParameterCollection>
<RecordsAffected>
<summary>
Gets the number of records affected.
</summary>
<remarks>
<format type="text/markdown">
<![CDATA[
]]>
</format>
</remarks>
<inheritdoc cref="System.Data.Common.DbBatchCommand.RecordsAffected" />
</RecordsAffected>
</members>
</docs>
Expand Up @@ -67,7 +67,7 @@ public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
public System.Data.CommandBehavior CommandBehavior { get { throw null; } set { } }
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/RecordsAffected/*'/>
public override int RecordsAffected { get { throw null; } }
/// <inheritdoc />
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/DbParameterCollection/*'/>
protected override System.Data.Common.DbParameterCollection DbParameterCollection => throw null;
}
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommandCollection.xml' path='docs/members[@name="SqlBatchCommandCollection"]/SqlBatchCommandCollection/*'/>
Expand Down
Expand Up @@ -85,7 +85,7 @@ internal SqlBatchCommand(string commandText, SqlParameterCollection parameterCol
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandBehavior/*'/>
public CommandBehavior CommandBehavior { get => _behavior; set => _behavior = value; }

/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/RecordsAffected/*'/>
/// <inheritdoc />
public
#if NET6_0_OR_GREATER
override
Expand Down

0 comments on commit e47715c

Please sign in to comment.