Skip to content

Commit

Permalink
Add documentation comments for TableName.
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Grainger <[email protected]>
  • Loading branch information
bgrainger committed Oct 28, 2024
1 parent fb239d6 commit 31c0852
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/MySqlConnector/MySqlDbColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ internal MySqlDbColumn(int ordinal, ColumnDefinitionPayload column, bool allowZe
BaseColumnName = column.PhysicalName;
BaseSchemaName = column.SchemaName;
BaseTableName = column.PhysicalTable;
TableName = column.Table;
ColumnName = column.Name;
ColumnOrdinal = ordinal;
ColumnSize = columnSize > int.MaxValue ? int.MaxValue : unchecked((int) columnSize);
Expand All @@ -49,8 +48,13 @@ internal MySqlDbColumn(int ordinal, ColumnDefinitionPayload column, bool allowZe
}
NumericScale = column.Decimals;
ProviderType = mySqlDbType;
TableName = column.Table;
}

public string TableName { get; }
public MySqlDbType ProviderType { get; }

/// <summary>
/// Gets the name of the table that the column belongs to. This will be the alias if the table is aliased in the query.
/// </summary>
public string TableName { get; }
}

0 comments on commit 31c0852

Please sign in to comment.