Skip to content

Commit

Permalink
Merge pull request #73 from marcwittke/hotfix/v5.1.6
Browse files Browse the repository at this point in the history
gnarf
  • Loading branch information
marcwittke committed Jun 24, 2019
2 parents 48408d3 + 9cc954e commit 174fe08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Backend.Fx.EfCorePersistence.Tests/TheEfUnitOfWork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public void ClearingTransactionOnRelationalConnectionViaReflectionWorks()
tx.Commit();
}



// see EfUnitOfWork.cs ClearTransactions()
RelationalConnection txman = (RelationalConnection) dbs.DbContext.Database.GetService<IDbContextTransactionManager>();
var methodInfo = typeof(RelationalConnection).GetMethod("ClearTransactions", BindingFlags.Instance | BindingFlags.NonPublic);
Expand Down

0 comments on commit 174fe08

Please sign in to comment.