Skip to content

Commit 2f02641

Browse files
committed
Documented parameters for AddRow() convenience methods
This was an oversight when introducing the new `TopicListDataTable` (7a37dc9) and `AttributeValuesDataTable` (313fe71). Oops!
1 parent 9a78119 commit 2f02641

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

OnTopic.Data.Sql/Models/AttributeValuesDataTable.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
| Project Topics Library
55
\=============================================================================================================================*/
66
using System.Data;
7+
using OnTopic.Attributes;
78

89
namespace OnTopic.Data.Sql.Models {
910

@@ -50,6 +51,8 @@ internal AttributeValuesDataTable() {
5051
/// <summary>
5152
/// Provides a convenience method for adding a new <see cref="DataRow"/> based on the expected column values.
5253
/// </summary>
54+
/// <param name="attributeKey">The <see cref="AttributeValue.Key"/>.</param>
55+
/// <param name="attributeValue">The <see cref="AttributeValue.Value"/>.</param>
5356
internal DataRow AddRow(string attributeKey, string? attributeValue = null) {
5457

5558
/*------------------------------------------------------------------------------------------------------------------------

OnTopic.Data.Sql/Models/TopicListDataTable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ internal TopicListDataTable() {
3939
/// <summary>
4040
/// Provides a convenience method for adding a new <see cref="DataRow"/> based on the expected column values.
4141
/// </summary>
42+
/// <param name="topicId">The <see cref="Topic.Id"/> of the related <see cref="Topic"/></param>
4243
internal DataRow AddRow(int topicId) {
4344

4445
/*------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)