Skip to content

Commit

Permalink
Do Delta Differences
Browse files Browse the repository at this point in the history
Make changes, where one has an explicit definition in the .cs file/xml;
While the other uses <inheritdoc>, based on the System.... series of libraries.
  • Loading branch information
H-Yeo committed Jan 18, 2024
1 parent 9c4e0df commit b881127
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,16 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
<DbParameterCollection>
<inheritdoc cref="System.Data.Common.DbParameterCollection" />
</DbParameterCollection>
<RecordsAffected>
<summary>
Gets the number of records affected.
</summary>
<remarks>
<format type="text/markdown">
<![CDATA[
]]>
</format>
</remarks>
</RecordsAffected>
</members>
</docs>
Original file line number Diff line number Diff line change
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; } }
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/DbParameterCollection/*'/>
/// <inheritdoc />
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
Original file line number Diff line number Diff line change
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; }

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

0 comments on commit b881127

Please sign in to comment.