diff --git a/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml b/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml index 85f7df7eec..2202da21d0 100644 --- a/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml +++ b/doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml @@ -72,5 +72,8 @@ The following example creates a an Returns whether the method is implemented. + + + diff --git a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommand.cs b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommand.cs index 0ba0375f07..0ea6cfe003 100644 --- a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommand.cs +++ b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlBatchCommand.cs @@ -75,7 +75,7 @@ internal SqlBatchCommand(string commandText, SqlParameterCollection parameterCol #endif string CommandText { get => _text; set => _text = value; } - /// + /// public #if NET6_0_OR_GREATER override @@ -85,14 +85,14 @@ internal SqlBatchCommand(string commandText, SqlParameterCollection parameterCol /// public CommandBehavior CommandBehavior { get => _behavior; set => _behavior = value; } - /// + /// public #if NET6_0_OR_GREATER override #endif int RecordsAffected { get => _recordsAffected; } - /// + /// protected #if NET6_0_OR_GREATER override @@ -119,7 +119,7 @@ internal set _parameters = value; } } - + /// public SqlCommandColumnEncryptionSetting ColumnEncryptionSetting { get => _encryptionSetting; set => _encryptionSetting = value; }