Skip to content

Commit

Permalink
Removed a constructor from the TransactionConnection to avoid creat…
Browse files Browse the repository at this point in the history
…ing an instance without a transaction attached
  • Loading branch information
kenkendk committed Dec 9, 2019
1 parent 8dae9c9 commit 2febd50
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Ceen.Database/TransactionConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ public class TransactionConnection : IDbConnection, IDbTransaction
/// </summary>
public IDbTransaction Transaction => m_transaction;

/// <summary>
/// Creates a new connection wrapper
/// </summary>
/// <param name="connection">The connection to wrap</param>
public TransactionConnection(IDbConnection connection)
{
m_connection = connection;
}

/// <summary>
/// Creates a new connection wrapper
/// </summary>
Expand Down

0 comments on commit 2febd50

Please sign in to comment.