Skip to content

Commit

Permalink
Small Test - Inherit Doc verification to XML
Browse files Browse the repository at this point in the history
Following guided instructions, testing incrementally whether this is correct. Which appears to be sort of working based on compiled Microsoft XML document (no errors).
  • Loading branch information
H-Yeo committed Jan 15, 2024
1 parent 1495903 commit afe0ee4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
Returns whether the <see cref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CreateParameter"/> method is implemented.
</summary>
</CanCreateParameter>
<CommandText>
<inheritdoc cref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText" />
</CommandText>
</members>
</docs>
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal SqlBatchCommand(string commandText, SqlParameterCollection parameterCol
#endif
string CommandText { get => _text; set => _text = value; }

/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandType/*'/>
/// <inheritdoc />
public
#if NET6_0_OR_GREATER
override
Expand All @@ -85,14 +85,14 @@ 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
#endif
int RecordsAffected { get => _recordsAffected; }

/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/DbParameterCollection/*'/>
/// <inheritdoc />
protected
#if NET6_0_OR_GREATER
override
Expand All @@ -119,7 +119,7 @@ internal set
_parameters = value;
}
}

/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ColumnEncryptionSetting/*'/>
public SqlCommandColumnEncryptionSetting ColumnEncryptionSetting { get => _encryptionSetting; set => _encryptionSetting = value; }

Expand Down

0 comments on commit afe0ee4

Please sign in to comment.