Skip to content

Commit 5c84fc7

Browse files
committed
Add Connection property with derived type.
1 parent 6d74cf6 commit 5c84fc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MySqlConnector/MySql.Data.MySqlClient/MySqlTransaction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ internal async Task RollbackAsync(IOBehavior ioBehavior, CancellationToken cance
6767
}
6868
}
6969

70+
public new MySqlConnection Connection => m_connection;
7071
protected override DbConnection DbConnection => m_connection;
7172
public override IsolationLevel IsolationLevel { get; }
7273

0 commit comments

Comments
 (0)