Skip to content

Commit 02bcc0f

Browse files
committed
Make table alias accessible from MySqlDbColumn
Signed-off-by: AlexKerman <[email protected]>
1 parent 5ec770b commit 02bcc0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MySqlConnector/MySqlDbColumn.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ internal MySqlDbColumn(int ordinal, ColumnDefinitionPayload column, bool allowZe
2222
BaseColumnName = column.PhysicalName;
2323
BaseSchemaName = column.SchemaName;
2424
BaseTableName = column.PhysicalTable;
25+
TableName = column.Table;
2526
ColumnName = column.Name;
2627
ColumnOrdinal = ordinal;
2728
ColumnSize = columnSize > int.MaxValue ? int.MaxValue : unchecked((int) columnSize);
@@ -50,5 +51,6 @@ internal MySqlDbColumn(int ordinal, ColumnDefinitionPayload column, bool allowZe
5051
ProviderType = mySqlDbType;
5152
}
5253

54+
public string TableName { get; }
5355
public MySqlDbType ProviderType { get; }
5456
}

0 commit comments

Comments
 (0)