Skip to content

Commit

Permalink
Partial Changes
Browse files Browse the repository at this point in the history
This is the first attempt to partially align formatting to the original way of doing things by marking up headers, prior to implementation of inheritdoc of base classes.
  • Loading branch information
H-Yeo committed Jan 17, 2024
1 parent c99502c commit 9c4e0df
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
</summary>
</CanCreateParameter>
<CommandText>
<inheritdoc cref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText" />
<inheritdoc cref="System.Data.Common.DbBatchCommand.CommandText"/>
</CommandText>
<CommandType>
<inheritdoc cref="System.Data.CommandType" />
</CommandType>
<DbParameterCollection>
<inheritdoc cref="System.Data.Common.DbParameterCollection" />
</DbParameterCollection>
</members>
</docs>
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ public class SqlBatch : System.Data.Common.DbBatch
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
{
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/cto1/*'/>
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor1/*'/>
public SqlBatchCommand() => throw null;
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/ctor2/*'/>
public SqlBatchCommand(string commandText, System.Data.CommandType commandType = System.Data.CommandType.Text, System.Collections.Generic.IEnumerable<Microsoft.Data.SqlClient.SqlParameter> parameters = null, Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting columnEncryptionSetting = Microsoft.Data.SqlClient.SqlCommandColumnEncryptionSetting.UseConnectionSetting) { throw null; }
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/Parameters/*'/>
public new Microsoft.Data.SqlClient.SqlParameterCollection Parameters { get { throw null; } }
/// <inheritdoc />
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandText/*'/>
public override string CommandText { get { throw null; } set { } }
/// <inheritdoc />
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandType/*'/>
public override System.Data.CommandType CommandType { get { throw null; } set { } }
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandBehavior/*'/>
public System.Data.CommandBehavior CommandBehavior { get { throw null; } set { } }
/// <inheritdoc />
/// <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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Microsoft.Data.SqlClient
{
/// <inheritdoc />
/// <include file='../../../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/SqlBatchCommand/*'/>
public partial class SqlBatchCommand
#if NET6_0_OR_GREATER
: DbBatchCommand
Expand Down

0 comments on commit 9c4e0df

Please sign in to comment.