Skip to content

Commit

Permalink
Restore
Browse files Browse the repository at this point in the history
Based on documentation, inheritdoc should not be used here.
  • Loading branch information
H-Yeo committed Jan 15, 2024
1 parent 12623b0 commit 1495903
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -68,35 +68,37 @@ internal SqlBatchCommand(string commandText, SqlParameterCollection parameterCol
_parameters = parameterCollection;
}

/// <inheritdoc />
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandText/*'/>
public
#if NET6_0_OR_GREATER
override
#endif
string CommandText { get => _text; set => _text = value; }

/// <inheritdoc />
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandType/*'/>
public
#if NET6_0_OR_GREATER
override
#endif
CommandType CommandType { get => _type; set => SetCommandType(value); }

/// <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
#endif
int RecordsAffected { get => _recordsAffected; }

/// <inheritdoc />
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/DbParameterCollection/*'/>
protected
#if NET6_0_OR_GREATER
override
#endif
DbParameterCollection DbParameterCollection => Parameters;

/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/Parameters/*'/>
public
#if NET6_0_OR_GREATER
Expand All @@ -117,6 +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 1495903

Please sign in to comment.