Skip to content

Commit 5c175c1

Browse files
author
Noah Potash
committed
Closes #30. Fixed a bug in which transactions are not rolled back on Dispose when using EntityFrameworkCore.
1 parent b4b44a9 commit 5c175c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: Source/MySql.Data/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "6.9.813",
2+
"version": "6.9.814",
33
"description": "MySQL client library targeting netstandard 1.3",
44
"authors": [ "Oracle", "SapientGuardian", "ebyte23" ],
55
"buildOptions": {

Diff for: Source/MySql.Data/transaction.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ public void Dispose()
8888
GC.SuppressFinalize(this);
8989
}
9090

91-
internal void Dispose(bool disposing)
92-
{
91+
protected override void Dispose(bool disposing)
92+
{
9393
if (disposing)
9494
{
9595
if ((conn != null && conn.State == ConnectionState.Open || conn.SoftClosed) && open)

0 commit comments

Comments
 (0)