Skip to content

Commit

Permalink
Resolving Path References
Browse files Browse the repository at this point in the history
Working to resolve Path References
  • Loading branch information
H-Yeo committed Jan 26, 2024
1 parent 0823b74 commit ca05e53
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
</summary>
</CanCreateParameter>
<CommandText>
<inheritdoc cref="System.Data.Common.DbBatchCommand.CommandText"/>
<inheritdoc cref="Microsoft.Data.SqlClient.SqlCommand.CommandText"/>
</CommandText>
<CommandType>
<inheritdoc cref="System.Data.Common.DbBatchCommand.CommandType" />
<inheritdoc cref="Microsoft.Data.SqlClient.SqlCommand.CommandType" />
</CommandType>
<DbParameterCollection>
<inheritdoc cref="System.Data.Common.DbBatchCommand.DbParameterCollection" />
<inheritdoc cref="Microsoft.Data.SqlClient.SqlParameterCollection.DbParameterCollection" />
</DbParameterCollection>
<RecordsAffected>
<inheritdoc cref="System.Data.Common.DbBatchCommand.RecordsAffected" />
<inheritdoc cref="Microsoft.Data.SqlClient.RecordsAffected" />
</RecordsAffected>
</members>
</docs>
2 changes: 1 addition & 1 deletion doc/snippets/Microsoft.Data.SqlClient/SqlConnection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ using (SqlConnection connection = new SqlConnection(connectionString))
<![CDATA[
## Examples
The following example demonstrates how to define and set an <xref:Microsoft.Data.SqlClient.AccessTokenCallback%2A>.
The following example demonstrates how to define and set an <xref:Microsoft.Data.SqlClient.SqlConnection.AccessTokenCallback%2A>.
[!code-csharp[SqlConnection_AccessTokenCallback Example#1](~/../sqlclient/doc/samples/SqlConnection_AccessTokenCallback.cs#1)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public partial class SqlBatchCommand : System.Data.Common.DbBatchCommand
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; } }
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandText/*'/>
/// <include file='../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandText/*'/>
public override string CommandText { get { throw null; } set { } }
/// <include file='../../../../doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml' path='docs/members[@name="SqlBatchCommand"]/CommandType/*'/>
/// <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 { } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ 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
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; }

/// <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
Expand Down

0 comments on commit ca05e53

Please sign in to comment.